I had create app which only support Landscape orientation, whenever I called UIImagePickerControllerSourceTypeCamera to take picture using camera is worked, but when I called UIImagePickerControllerSourceTypePhotoLibrary it crashed.
I had tried using method shouldAutoRotate() to allow portrait but still not working. Any solution for this problem ?