سؤال

I'd like to fix my Camera View in Portrait Mode but I found NO solution till now...

Do YOU have one? Would make my day .__.'

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

المحلول

You cannot explicitly restrict the UIImagePickerController to portrait mode, but you can customize the look of the camera's user interface, which may help you. This is the example code from Apple:

https://developer.apple.com/library/ios/#samplecode/PhotoPicker/Introduction/Intro.html

Another method of controlling the camera's look is mentioned in this question:

Camera with Custom View

I don't know exactly what your goal is, but one of these methods should help.

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