I have a need to store the current location to ‘disk’ on the iphone if the application I’m writing is terminated. Then, when the app starts again, I want to restore this information. However, the CLLocation coordinate property is read only.
What can I do to save this information between program invocations (and reapply it to a CLLocation object)?
You could use NSDefaults to store it. Something like
Sam
PS I don’t have a mac to hand so there might be syntax errors in the above code but you get the idea 🙂