Home
Sign Up
Sign In
V2EX
›
iOS
iOS 定位权限, While Using 和 Always 到底有什么区别?
clrss
·
May 27, 2020
· 2192 views
This topic created in 2316 days ago, the information mentioned may be changed or developed.
设置成 While Using, app 后台也能定位(比如解锁共享单车后), 屏幕顶部会显示蓝条提醒.
Always 可能是
后台定位用户无感知?
初步试了下, 设成 Always, app 后台定位也会显示蓝条.
无用户交互也能发起定位请求?
请做过 iOS App 开发的攻城狮解惑一下.
always
定位
App
using
2 replies
•
2020-05-28 17:10:59 +08:00
1
66450146
May 27, 2020
1
https://stackoverflow.com/questions/56639469/difference-between-always-and-while-using-app-in-location-services-for-ios
2
jisongkun
May 28, 2020
我的 gps 记录软件在不开启的情况下可以 24 小史纪录一个月的位置(每五分钟记录一次)。设置了 while using 就不行了。
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
4691 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: f77a3b4c · 30ms ·
UTC 06:55
·
PVG 14:55
·
LAX 23:55
·
JFK 02:55
♥ Do have faith in what you're doing.
❯