Core Location not requesting user permission

后端 未结 1 669
甜味超标
甜味超标 2021-01-01 05:07

An application I was testing asked for user location on first device launch. I have uninstalled the application, deleted the build folder, and cleaned all targets, but core

1条回答
  •  暖寄归人
    2021-01-01 05:29

    Not many people know this, but after you uninstall an application, that application's documents and preferences are still stored on the device, here:

    /var/mobile/Library/Safe Harbor/myappidentifier/Container/
    

    in my opinion, this was not a wise move by apple, as that could have security risks, as the one you have explained above.

    If an app is re-installed, iOS automatically copies those preferences back into the appropriate folder. That is the cause of the behavior you are seeing.

    0 讨论(0)
提交回复
热议问题