سؤال

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?

هل كانت مفيدة؟

المحلول

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

But remember, it would affect your UIAlertView.

نصائح أخرى

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top