Post

Replies

Boosts

Views

Activity

UIImage rotate according to device orientation
Hey, I'm working on a camera app. I've got a few outlets for various buttons and attaching tap gestures to perform the actions. I've enabled only Portrait orientation in Deployment Info & disabled the remaining. When the device rotates, I want to rotate the UIImage according to the device orientation. How to do that?
1
0
555
Oct ’21
UIImage rotate according to device orientation
Hey, I'm working on a camera app. I've got a few outlets for various buttons and attaching tap gestures to perform the actions. I've enabled only Portrait orientation in Deployment Info & disabled the remaining. When the device rotates, I want to rotate the UIImage according to the device orientation. How to do that?
Replies
1
Boosts
0
Views
555
Activity
Oct ’21