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.
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.
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.
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.
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.
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.
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.
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.
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.
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.