简体   繁体   中英

How to rotate orientation of UIImage when application have only one orientation

I have a Tabbar based application in iOS and it is only portrait orientation enabled. one of my controller presents a controller with only one photo and i have to enable all orientations for image. can any one suggest me how should i do it?

I think,

You have to enable all the Rotation in Project Summary.

Then Restrict the All Views except Photo View.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM