I have uitabbar application and I Want to rotate just one ViewController with chart in landscape mode. It’s possible to do that?
I have uitabbar application and I Want to rotate just one ViewController with chart
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no easy way to have only one view in landscape mode, while the others are in landscape, nor an easy way to programmatically switch to landscape mode.
One possible approach would be using a
CGAffineTransformto transform your view in yourviewWillAppear(i.e., right before the view is shown):Hope this works for you.