ios - Camera screen showing only blank black image -
i developing application needs iphone camera access. using xcode version 6.3 , swift 1. working fine ios 8 , updated iphone ios 9.0.1. , when accessing camera through application, getting blank black screen. sample code have been using
func cameraaction() { imagepicker.sourcetype = uiimagepickercontrollersourcetype.camera self.presentviewcontroller(imagepicker, animated: true, completion: nil) imagepicker.allowsediting = false }
i found solution myself. goto setting -> privacy -> camera , enable or disable camera access individual apps
Comments
Post a Comment