iOS8调用系统相机延迟问题

iOS8在调用系统相机拍照时,会有一两秒的停顿,需要将 modalPresentationStyle 设置为 UIModalPresentationOverCurrentContext即可


    if([[[UIDevice currentDevice] systemVersion] floatValue] >= 8.0) {
        
        self.modalPresentationStyle = UIModalPresentationOverCurrentContext;
        
    }

你可能感兴趣的:(iOS8调用系统相机延迟问题)