权限配置

info.plist需配置

NSAppTransportSecurity

    NSAllowsArbitraryLoads
    

NSBluetoothAlwaysUsageDescription
Use the Bluetooth to connect to your Nokia Watch
NSCalendarsUsageDescription
Use the calendar to sync events from your phone to your watch.
NSCameraUsageDescription
Use the camera to scan the QR code on your watch screen.
NSContactsUsageDescription
The selected contacts will be added to your Watch contacts.
NSPhotoLibraryUsageDescription
Use the Photo to change your watch face.
UIApplicationSupportsIndirectInputEvents

UIBackgroundModes

bluetooth-central

使用终端,cd到工程所在目录,使用pod install将本地pod库导入至项目中

你可能感兴趣的:(权限配置)