I have developed an app targeted for iOS 4.3. It worked fine. But since I migrated to iOS 5.0, the app has started showing strange behavior. The location manager is not showing updates on change in position. Has anyone encountered this kind of problem?
Thanks for any help.
I had my fare share with CLLocation manager weird updating issues when moving from iOS 4.x to 5:
Have you subclassed the CLLocationManager object ?
problem : In that case sometime the delegate methods sometime don't get called (ex. didUpdateLocation).
fix: don't subclass CLLocationManager
Hope this helps :)
The way iOS 5 handles memory management could be one way. If you are declaring a variable in your .h file and not referencing it correctly or implicitly [self.myVar doSomething]; it could be dumping out on you without you knowing it. It will still compile fine, but will mainly be ignored and passed over.
Not 100% without seeing code, but I have noticed this issue as well with some of our company's older programs when iOS 5 came calling. Good luck.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With