Permission is not working prior iOS 10 in Swift

2019-07-13 15:33发布

I have defined the permission of Camera and Photo library in Info.plist and is working fine in iOS 10 but it is not working prior iOS 10.

Camera Permission:

Privacy - Camera Usage Description : $(PRODUCT_NAME) camera use

Photo Library Permission:

Privacy - Photo Library Usage Description : $(PRODUCT_NAME) photo use

Please,suggest me something.

1条回答
我欲成王,谁敢阻挡
2楼-- · 2019-07-13 15:53
set '$(PRODUCT_NAME)' to "Bundle Display Name" in plist is the thing that worked for me
查看更多
登录 后发表回答