requestAlwaysAuthorization not showing permission alert

前端 未结 17 1062
我寻月下人不归
我寻月下人不归 2020-12-29 20:19

I\'m trying to use some fancy iBeacons without success, kCLAuthorizationStatusNotDetermined all time. According to other questions it\'s a requirement to add those keys to

17条回答
  •  时光说笑
    2020-12-29 21:09

    For ios 11 Its important to add below mention new permission which is

    NSLocationAlwaysAndWhenInUseUsageDescription

    along with the old permission which is

    NSLocationAlwaysUsageDescription, NSLocationWhenInUseUsageDescription

    to fix the requestAlwaysAuthorization not showing permission alert.

提交回复
热议问题