iOS alertview for location permission doesn't pop up

后端 未结 2 573
花落未央
花落未央 2021-01-18 05:05

I just started my project for iOS 8 and i ran in too the problem that i cant get the question to pop up for permission. I added the following to my info.plist



        
2条回答
  •  死守一世寂寞
    2021-01-18 05:21

    its new for ios 10 Now add location permission in plist file

    if not add permission in plist then permission popup is not show

    Add below permission in plist

    1.Privacy - Location When In Use Usage Description

    2.Privacy - Location Always Usage Description

提交回复
热议问题