I am making an application in landscape, but I need to open the photo gallery in the image. The photo gallery only opens in the portrait mode. Is there any way that the application can be limited to stay in the landscape mode except only for the photo gallery? Or can the photo gallery be opened in landscape?
Asked
Active
Viewed 101 times
0
-
1Check out my answer http://stackoverflow.com/questions/20422244/ios-7-interface-orientation/20422517#20422517. I was having the same issue and solved it. You can open the photo gallery in portrait mode only. – Manthan Feb 11 '14 at 10:33
2 Answers
0
Possibly, rotation of a view could help you. Have a look at CGAffineTransformMakeRotation.
But remember, it would affect your UIAlertView.

Community
- 1
- 1

NeverHopeless
- 11,077
- 4
- 35
- 56
-1
It is not possible because it is restricted by the framework, it will always open in portrait mode

Aly
- 391
- 1
- 13
-
Is there any way to limit the orientation to landscape except for photo gallery? – Khawar Ali Feb 11 '14 at 09:41
-
no. It always be in the portrait mode because it is restricted. Kindly accept the answer – Aly Feb 11 '14 at 09:42