Domanda

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?

È stato utile?

Soluzione

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

But remember, it would affect your UIAlertView.

Altri suggerimenti

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top