Post

Replies

Boosts

Views

Activity

Comment on What format for writeHEIFRepresentation preserves HDR?
Thanks! Is there a scenario when editing an SDR photo + gain map where the original photo's bit depth would be more than 8? I'm currently using RGBAh in that scenario instead of RGBA8, which I thought was needed to support Display P3 wide color, but perhaps that's unnecessary.
Replies
Boosts
Views
Activity
Oct ’24
Comment on Display HDR photo in PHContentEditingController
Sure thing, FB15433061
Replies
Boosts
Views
Activity
Oct ’24
Comment on Get View Full HDR state from Settings > Photos to properly set preferredImageDynamicRange in editing extension
Sure thing, FB15409424
Replies
Boosts
Views
Activity
Oct ’24
Comment on Build XCFramework from source that has dependencies on Swift Packages
Actually, I simplified my question in a post here asking how I can now test this framework in an example app. I appreciate your help!
Replies
Boosts
Views
Activity
Jun ’24
Comment on Build XCFramework from source that has dependencies on Swift Packages
This worked, thank you! I have a follow-up question in regards to distributing this XCFramework 🙏
Replies
Boosts
Views
Activity
Jun ’24
Comment on How to configure visionOS app icon in existing iOS project
@Curiosity compatible iPad apps will use the iPad app icon, only native visionOS apps can provide a visionOS app icon
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’24
Comment on How to configure visionOS app icon in existing iOS project
Thanks! Missed that button. For anyone else seeing this note you'll have 4 new entries total, 2 for Debug 2 Release, for Sim and non-Sim.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jan ’24
Comment on Time zone for PHAsset creationDate
I submitted FB13363638: PHAsset and PHContentEditingInput API to get creation date time zone
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’23
Comment on Time zone for PHAsset creationDate
The problem with translating an asset’s location to TimeZone is iOS allows you to change the time zone via Adjust Date & Time (and there may not even be a location). It seems we need an API to expose its time zone.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’23
Comment on Time zone for PHAsset creationDate
You’re right that Photos knows the asset’s time zone. You can even change it in Adjust Date & Time. Where in the EXIF metadata is the time zone? I only see dates without time zone info.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’23
Comment on App hangs while opening from background
I've not noticed this before, but am encountering it in iOS 17.2. The difference in my crash stack trace is after -[MPMusicPlayerApplicationController _establishConnectionIfNeeded] I have -[MPMusicPlayerController _validateServer] + 128. FB13308546 includes crash reports and a sysdiagnose.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’23
Comment on Change volume of YouTube video playing in WKWebView
No, we removed this feature from our app due to the limitations.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Comment on Unable to set the new App Tint Color options for App Shortcuts
This worked on iPhone but isn't working on iPad. Is there more we need to do?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’23
Comment on Is it ok to get fullSizeImageURL by requesting content editing input to share photos?
I ended up using PHAssetResource to get the resource then call PHAssetResourceManager.writeData to save the image to a temporary file. That way I can still share an array of file URLs. Nice thing about this is it shows metadata in the share sheet, most useful when sharing a single file.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’23
Comment on Is it ok to get fullSizeImageURL by requesting content editing input to share photos?
Thanks, this is what I’m using now, I then convert that data to a UIImage to share, but this has several problems noted above :)
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’22