Question

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?

Était-ce utile?

La solution

Possibly, rotation of a view could help you. Have a look at CGAffineTransformMakeRotation.

But remember, it would affect your UIAlertView.

Autres conseils

It is not possible because it is restricted by the framework, it will always open in portrait mode

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top