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?
Asked
Active
Viewed 46 times
0
-
1http://stackoverflow.com/questions/2144520/iphone-allow-landscape-orientation-on-just-one-viewcontroller – Rushabh Oct 11 '13 at 13:40
-
thats my answer thanks – Mashhadi Oct 11 '13 at 14:00
-
but still t is just rotating my image view also rotate but do not set it self as it should be – Mashhadi Oct 11 '13 at 14:26
1 Answers
0
I think,
You have to enable all the Rotation in Project Summary.
Then Restrict the All Views except Photo View.

user1673099
- 3,293
- 7
- 26
- 57
-
when we are using Tabbarcontroller in that case if we enable rotation then it will enable in whole project and if i try to restrict it in any controller then it is not possible to do – Mashhadi Oct 11 '13 at 13:52