iOS 8 requestWhenInUseAuthorization no Popup

前端 未结 6 2012
名媛妹妹
名媛妹妹 2020-12-04 12:25

I tried to make my AppProject iOS 8 ready. I had read a lot about

[_locationManager requestWhenInUseAuthorization];

and the entry in plist<

6条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-04 12:53

    Pertaining to the Apple Watch:

    You need to put the requestWhenInUseAuthorization key in the iPhone's Info.plist, not the WatchKit App's.

    This has bitten me twice now.

提交回复
热议问题