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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

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

android - How to create dynamically Fragment pager adapter -