Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Commit

Permalink
Add NSPhotoLibraryUsageDescription and NSCameraUsageDescription with …
Browse files Browse the repository at this point in the history
…reasons to access photo library and camera for both objective-C and swift demo apps
  • Loading branch information
Howard Huang committed Jul 14, 2016
1 parent c46c423 commit 6bbe647
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions YangMingShanDemo/ObjC/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,9 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>NSPhotoLibraryUsageDescription</key>
<string>The photo library is used to select photos</string>
<key>NSCameraUsageDescription</key>
<string>The camera is used to take a new photo</string>
</dict>
</plist>
4 changes: 4 additions & 0 deletions YangMingShanDemo/Swift/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,9 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>NSPhotoLibraryUsageDescription</key>
<string>The photo library is used to select photos</string>
<key>NSCameraUsageDescription</key>
<string>The camera is used to take a new photo</string>
</dict>
</plist>

0 comments on commit 6bbe647

Please sign in to comment.