项目作者: MilanistaDev

项目描述 :
Think Precise Location Auth.
高级语言: Swift
项目地址: git://github.com/MilanistaDev/LocationAuthSampleForiOS14.git
创建时间: 2020-10-25T13:36:08Z
项目社区:https://github.com/MilanistaDev/LocationAuthSampleForiOS14

开源协议:

下载


LocationAuthSampleForiOS14

Think Precise Location Auth.

From iOS 14, user can choose whether to use accurate location information.
When a dialog of location service shows, we can check this function.
The difference is location’s range.

Precise: On Precise: Off
スクリーンショット 2020-10-26 3 14 11 スクリーンショット 2020-10-26 3 14 18

User can change settings of precise

This sample app prepared the Settings screen.
We can get status for precise auth status.
So If user setted reducedAccuracy, we can bring up a dialog and ask for permission only once.
However, even if user allow it here, it will be turned off when user restart the app.

Settings Allow Once
スクリーンショット 2020-10-26 3 19 17 スクリーンショット 2020-10-26 3 19 52

User can turn On at the App’s Location Service Screen on Settings.app.

スクリーンショット 2020-10-26 3 28 06

I think it is important to clarify to the user
why they use location information and why they get accurate location information.