Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

arnieterm

macrumors regular
Original poster
Aug 28, 2008
201
0
For an Iphone application, I need to work with GPS features. Basically I want to do two things:
1. First detect whether the IPhone has GPS enabled or not
2. Can turn ON/Off the GPS feature, if desired.

I know that the GPS features are in Settings-->General-->Location Services. But I don't know how to access them using XCODE [objective-c]

Any idea??
Thanks
 

aztec31

macrumors newbie
Sep 15, 2008
9
0
Have you looked at the tutorials at appl dev website? I'm sure there is examples on how to this there.
 

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
Have you looked in the documentation at all? The answer is very clearly in the CLLocationManager reference.

Please: read the documentation before posting questions that can easily be answered with < 1 minute of reading.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.