相机闪退

 

//解决方案

ios文件夹下得AppController

 

- (NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window{

    return UIInterfaceOrientationMaskAll;

}

然后在使用UIImagePickerController的viewController

 

- (NSUInteger)supportedInterfaceOrientations{

    return UIInterfaceOrientationMaskLandscape;

}

posted on 2015-02-13 10:00  流以琳elim  阅读(170)  评论(0编辑  收藏  举报

导航