ios - What do I need to do to get the UIImagePickerController working with swift in landscape mode? -
i have swift app has photo picker , app landscape only. next error when seek open picker
exception 'uiapplicationinvalidinterfaceorientation', reason: 'supported orientations has no mutual orientation application, , [puuialbumlistviewcontroller shouldautorotate] returning yes'
i know picker wants pick portrait , in objective c prepare create category , add together shouldautorotate , set yes (i have working illustration of this). , understand in swift categories extensions.
so tried write extension picker , uiviewcontroller did not prepare it.
what need uiimagepickercontroller working swift in landscape mode?
check out next tutorial resize classes apple: http://swiftiostutorials.com/using-size-classes-xcode-6/ need design app fpr 2 cases, portrait , landscape.
ios swift uiimageview
No comments:
Post a Comment