Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在编写一个使用蓝牙发送数据的应用程序。第一次拨打电话时会弹出警报,上面写着
即使您不使用该应用程序,“应用程序名称”也希望向附近的蓝牙设备提供数据。
有没有办法自定义这个类似于定位服务消息?
Info.plist中有一个NSBluetoothPeripheralUsageDescriptionkey用来存储目的字符串,用来描述app使用蓝牙的原因。当系统提示用户允许使用时,该字符串显示为对话框的一部分
NSBluetoothPeripheralUsageDescription