UIImagePickerController in Swift 3

后端 未结 2 927
谎友^
谎友^ 2020-12-07 02:11

I\'ve recently updated to Swift 3 in Xcode 8 using the developer beta. I\'m trying to implement Firebase Auth, and everything\'s going well.

My Problem:

I\'m

2条回答
  •  甜味超标
    2020-12-07 02:52

    I think you need to add privacy - key for camara and photo library in your info.plist file as from xcode 8. for example,

     Key : Privacy - Media Library Usage Description
     Value : YES 
    
     Key : Privacy - Photo Library Usage Description
     Value : YES 
    
     Key : Privacy - Camara Usage Description
     Value : YES 
    

    here value is string not Boolean.

    so try this.

    Check Apple documentation for more details!

    Reference : this so post

提交回复
热议问题