Quote:
Originally Posted by Ishwar
My app is working on ios 4.2, 4.1,4.0 but not on 4.3.
Whenever I run my app on 4.2,4.1 or 4.0 everytime the data get retrieved in the table view from the core data , but while running on ios 4.3 nothing is retrieved from core data and after cleaning the build for ios 4.3 the data gets retrieved sometimes.
I am not able to get the problem. Kindly suggest the solution.
Thanking you in advance.
|
Often when apps misbehave for no apparently good reason it is because of a bug in your code that was there all along, but happened to be lucky enough not to cause a problem before. Don't assume that just because an app seems to run fine that the code must be OK. For example, you might be over-releasing some object, or releasing it too soon while there are still references to it. If you are lucky, the object will still be sitting in the heap of available memory during the references that follow the deallocation. The object might even continue to function properly for a short while. But the reallocation of that memory can take place at any time. And sometimes going from one iOS to another can create just enough of a difference in how some memory is reallocated so that the bug that was not a problem suddenly becomes a problem. This is just one example. There are many other possible bugs that might not cause problems under some iOS. So stop focussing on the iOS and start debugging the usually way, assuming that you have a bug that has been there all along.