Posts

Post not yet marked as solved
2 Replies
264 Views
On iOS, working with a video feed, I am getting a yellow warning that: "'AVCaptureVideoOrientation' was deprecated in iOS 17.0: Use AVCaptureDeviceRotationCoordinator instead". But I haven't been able to figure out how to get AVCaptureDevice.RotationCoordinator to work, and I haven't found any example of its usage in the Developer Forums or on the wider internet (the one mention of it in a WWDC session doesn't provide illustration of its use). Can anyone offer a working example using Swift?
Posted
by grb2007.
Last updated
.
Post not yet marked as solved
0 Replies
699 Views
Ahead of enabling On Demand Resources, I'm trying to optimize resources within an App that uses SceneKit extensively. I see that if I convert .dae files to .scn, their file sizes reduce, consistently, by approximately half. This is great. However, when I then build an archive, I see that the archive file that results is larger. If I click "Distribute App" and choose "Development", the resulting .ipa file is also larger. This seems odd to me that replacing larger .dae files with smaller .scn files results in larger archives and ipa files. Just curious if anyone has a theory why? I've repeated these results just to confirm them, converting different .dae files to .scn files in batches and building separate archive and ipa files each time. I think this question is interesting not just for its impact on deployment, but on build time as well.
Posted
by grb2007.
Last updated
.