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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -