iOS info.plist 权限国际化

 

1. 创建文件

2. 选择国际化语言

 

3. 加入语言方式

常用的中英文   参考

NSBluetoothAlwaysUsageDescription = "App needs your permission to allow Bluetooth to communicate with device";
NSBluetoothPeripheralUsageDescription ="App needs your permission to allow Bluetooth to communicate with device";
NSCalendarsUsageDescription ="App needs your permission to access calendar";
NSCameraUsageDescription ="App needs your permission to use camera function";
NSContactsUsageDescription ="App needs your permission to access your address book";
NSLocationAlwaysUsageDescription ="App needs your consent to enable location function all the time";
NSLocationWhenInUseUsageDescription ="App needs your consent to enable location function all the time";
NSMicrophoneUsageDescription ="App requires your consent to record";
NSPhotoLibraryAddUsageDescription ="App needs your permission to save photos to album";
NSPhotoLibraryUsageDescription ="App needs your permission to access the album";
NSSpeechRecognitionUsageDescription ="App needs your consent to use speech recognition";
NSAppleMusicUsageDescription = "App needs your permission to access multimedia";
NSBluetoothAlwaysUsageDescription = "APP需要您的允许才能允许蓝牙与设备通信";

NSBluetoothPeripheralUsageDescription ="APP需要您的允许才能允许蓝牙与设备通信";

NSCalendarsUsageDescription ="APP需要您的允许才能访问日历";

NSCameraUsageDescription ="APP需要您的允许才能使用照相机功能";

NSContactsUsageDescription ="APP需要您的允许才能访问您的通讯簿";

NSLocationAlwaysUsageDescription ="APP需要您的允许才能始终启用位置功能 ";

NSLocationWhenInUseUsageDescription ="APP需要您的允许才能始终启用位置功能 ";

NSMicrophoneUsageDescription ="APP需要您的允许才能录制";

NSPhotoLibraryAddUsageDescription ="APP需要您的允许才能将照片保存到相册 ";

NSPhotoLibraryUsageDescription ="APP需要您的允许才能访问相册";

NSSpeechRecognitionUsageDescription ="APP需要您的允许才能使用语音识别";

NSAppleMusicUsageDescription = "APP需要你的允许才能访问多媒体";

 

 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值