У меня было приложение, которое поддерживает только альбомную ориентацию, всякий раз, когда я вызывал UIImagePickerControllerSourceTypeCamera, чтобы сделать снимок с помощью камеры, он работал, но когда я вызывал UIImagePickerControllerSourceTypePhotoLibrary, он зависал.
Я пытался использовать метод shouldAutoRotate(), чтобы разрешить портрет, но все еще не работал. Любое решение этой проблемы?