objective c - iPhone GPS Development - Tips + Tricks -


I'm looking at some feedback, blog links, etc. which provides some tips and tricks for iPhone GPS development. I have read and understood the API, I have a demo app up and running, etc., but I have run some "Quirks" with the GPS on the iPhone. For example, it seems that when your iPhone enters "power save" mode, you will get very little space updates. I have read that you can compete with it by playing music in your application [It is not certain that it is true]

It also seems that, the conditions for making a proper parodomometer, you have 20 meters Anyone with less horizontal qualities should read. Is this sound right?

Is there any checklist on the web for the iPhone GPS?

Thank you in advance.

I do not know about any particular list, but here are some things that you should take care of :

  • You are not doing a GPS lookup, you are looking for the core location. Its location may be obtained from the core GPS location, or many people still use pre-3G iPhones, who do not have GPS, and even in a number of cases on a 3G phone GPS. May be unavailable (for example, if the person is indoors). In those cases, the phone will try the triangle based on cell phone towers and the core position will return the result. It will be much less accurate than GPS.
  • Core location will cache data This is likely to be the first reading old readings available to your app, which may or may not be true, depending on whether the phones have gone or not . Be sure to check the timestamp of any place and see if it is before your app starts.
  • I do not know what you mean by "save power" mode, but if you are thinking that the screen is locked / locked, which prevents the core app from running if your app still runs On the contrary, your phone's battery is easy to run because you expect that if you lock the phone using an app using the core lock, you can lock the phone, because the phone Continue updating app Received as new location data is available. UIApplicationWillResignActiveNotification to detect screen locking, and to detect UIApplicationDidBecomeActiveNotification unlock, you can avoid this in your application.
  • It will take more time to get high precision results, because now you wait, better results, to a certain extent if you decide that you need to stay inside the N meters, then consider Do take the time that the user will be waiting to wait for the phone to place in his place.

Whether you're 20 meters accurate enough, depending on the expectation you can use, you can only answer a few questions, test the app and see how it works for you. He wants, he works.


Comments