相机闪退

时间:2015-02-13 10:05:10   收藏:0   阅读:320

 

//解决方案

ios文件夹下得AppController

 

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

    return UIInterfaceOrientationMaskAll;

}

然后在使用UIImagePickerController的viewController

 

- (NSUInteger)supportedInterfaceOrientations{

    return UIInterfaceOrientationMaskLandscape;

}

原文:http://www.cnblogs.com/lude/p/4289730.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!