AuthorizeType

权限类型枚举

  • 使用时定位,Info.plist需配置NSLocationWhenInUseUsageDescription

  • 后台定位,Info.plist需配置NSLocationAlwaysUsageDescription和NSLocationAlwaysAndWhenInUseUsageDescription

  • 麦克风,需启用Microphone子模块,Info.plist需配置NSMicrophoneUsageDescription

  • 相册,Info.plist需配置NSPhotoLibraryUsageDescription

  • 照相机,Info.plist需配置NSCameraUsageDescription

  • 联系人,需启用Contacts子模块,Info.plist需配置NSContactsUsageDescription

  • 日历,需启用Calendar子模块,Info.plist需配置NSCalendarsUsageDescription

  • 提醒,需启用Calendar子模块,Info.plist需配置NSRemindersUsageDescription

  • 音乐,需启用AppleMusic子模块,Info.plist需配置NSAppleMusicUsageDescription

  • 通知,远程推送需打开Push Notifications开关和Background Modes的Remote notifications开关

  • 广告跟踪,需启用Tracking子模块,Info.plist需配置NSUserTrackingUsageDescription