简体   繁体   中英

Location Services from iphone app

Can i turn the Location Services on from within my application. In other words can i control the on or off state of Location Services from my iphone application. Solutions are appreciated in advance

要回答您的问题:不,您不能从代码中更改设备设置。

CLLocationManager startUpdatingLocation & stopUpdatingLocation is what you want, assuming you're talking about getting Location Services updates into your application.

As for the whole device itself, @TomvanderWoerdt is correct (& +1 for him!) :-)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM