Posts

Post not yet marked as solved
6 Replies
7k Views
I'm currently using the UIImagePickerController to get images, but I also save the PHAsset's identifier so I can reopen the last image viewed when the app is reopened. Is this available in the PHPickerResult's itemProvider? Or is it the assetIdentifier that's part of the PHPickerResult?
Posted Last updated
.
Post not yet marked as solved
0 Replies
350 Views
I'm trying to do a counter rotation for a view within viewWillTransition(to:with:) (i.e. make one view not rotate while all the other views rotate). The only issue I'm running into is when a view rotated 180 degrees, it does the counter rotation in the wrong direction (so the view ends up rotating to the final position instead of looking like it remains still). I'm pretty sure I can force the correct rotation direction by using keyframe animation but it looks like UIViewControllerTransitionCoordinator doesn't support keyframe animation. I tried doing keyframe animation outside of the UIViewControllerTransitionCoordinator's animate(alongsideTransition:) method, but it doesn't looks right. Is there a to use keyframe animation here? Or can I force the correction direction for a rotation?
Posted Last updated
.