2015-02-01 2 views
0

내 앱은 가로 모드를 사용하므로 사진 갤러리에 액세스해야합니다. 이 오류 나타난다 : 방위 지원하는 어플리케이션과 공통 방향이 없으며, [PUUIAlbumListViewController shouldAutorotate]를 반환 YES 'Landscape 모드의 UIImagePicker IOS 8

var image = UIImagePickerController() 
    image.delegate = self 

    image.sourceType = UIImagePickerControllerSourceType.PhotoLibrary 
    image.allowsEditing = false 

    self.presentViewController(image, animated: true, completion: nil) 

답변

1

the docs 가입일 :

The UIImagePickerController class supports portrait mode only.