반응형
기기의 특정 권한을 필요로 할 때
반응형
어떠한 기능을 사용하기위해 권한이 필요한지 입력 하라는 거네요
info.plist에 추가만 해주면 되겠습니다.
XCode 상에서 NSPhotoLibraryUsageDescription 권한의 사용처를 입력하려면
Targets > Info 에서
key : Privacy - Photo Library Usage Description
value : $(PRODUCT_NAME) contact use <- 이건 적당한 내용으로 채우면됨
728x90
이런식으로 넣어주면 되네요
Data Class
|
XCode Key
|
Raw Info.plist Key
|
API 사용 설명 을 요구하는 API
|
Apple Music
|
Privacy - Media Library Usage Description
|
NSAppleMusicUsageDescription
|
SKCloudServiceController requestCapabilitiesWithCompletionHandler: SKCloudServiceController requestCapabilitiesWithCompletionHandler: SKCloudServiceController requestStorefrontIdentifierWithCompletionHandler: MPMediaQuery MPMediaLibrary requestAuthorization:
|
Bluetooth
|
Privacy - Bluetooth Peripheral Usage Description
|
NSBluetoothPeripheralUsageDescription
|
CBCentralManager CBPeripheralManager
|
Calendar
|
Privacy - Calendars Usage Description
|
NSCalendarsUsageDescription
|
EKEventStore requestAccessToEntityType:
|
Camera
|
Privacy - Camera Usage Description
|
NSCameraUsageDescription
|
AVCaptureDeviceInput
|
Contacts
|
Privacy - Contacts Usage Description
|
NSContactsUsageDescription
|
CNContactStore requestAccessForEntityType:
|
Health
|
Privacy - Health Share Usage Description Privacy - Health Update Usage Description
|
NSHealthShareUsageDescription NSHealthUpdateUsageDescription
|
com.apple.developer.healthkit entitlement HKHealthStore
|
Home
|
Privacy - HomeKit Usage Description
|
NSHomeKitUsageDescription
|
HMHomeManager
|
Location
|
Privacy - Location Always Usage Description Privacy - Location When In Use Usage Description
|
NSLocationAlwaysUsageDescription NSLocationWhenInUseUsageDescription
|
CLLocationManager requestAlwaysAuthorization: CLLocationManager requestWhenInUseAuthorization:
|
Microphone
|
Privacy - Microphone Usage Description
|
NSMicrophoneUsageDescription
|
AVAudioSession requestRecordPermission:
|
Motion
|
Privacy - Motion Usage Description
|
NSMotionUsageDescription
|
CMMotionActivityManager
|
Photos
|
Privacy - Photo Library Usage Description
|
NSPhotoLibraryUsageDescription
|
UIImagePickerController or PHPhotoLibrary requestAuthorization: used in conjunction with any of the following classes: PHAsset PHAssetCollection PHCollection PHCollectionList
|
Reminders
|
Privacy - Reminders Usage Description
|
NSRemindersUsageDescription
|
EKEventStore requestAccessToEntityType:
|
Siri
|
Privacy - Siri Usage Description
|
NSSiriUsageDescription
|
INPreferences requestSiriAuthorization:
|
Speech Recognition
|
Privacy - Speech Recognition Usage Description
|
NSSpeechRecognitionUsageDescription
|
SFSpeechRecognizer requestAuthorization:
|
TV Provider Account
|
Privacy - TV Provider Usage Description
|
NSVideoSubscriberAccountUsageDescription
|
VSAccountManager
|
반응형
LIST