Skip to content

Instantly share code, notes, and snippets.

@teerasej
Created November 1, 2016 07:59
Show Gist options
  • Save teerasej/dd8c19ab04e1b6119b656d84e0070a7a to your computer and use it in GitHub Desktop.
Save teerasej/dd8c19ab04e1b6119b656d84e0070a7a to your computer and use it in GitHub Desktop.
Key ที่ต้องเพิ่มลงใน Info.plist ของ Xamarin.iOS สำหรับใช้เปิดใช้งานกล้องถ่ายรูป

Key ที่ต้องเพิ่มลงใน Info.plist ของ Xamarin.iOS สำหรับใช้เปิดใช้งานกล้องถ่ายรูป

  • NSCameraUsageDescription ซึ่งจะแสดงข้อความตอนที่แอพเราจะขอเปิดใช้งานกล้องครั้งแรก
  • NSPhotoLibraryUsageDescription ซึ่งจะแสดงข้อความตอนที่แอพเราพยายามเซฟรูปลง Photo Library หรืออัลบั้มเป็นครั้งแรก
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment