PDA

View Full Version : crashing on loading viewController (sometimes)




sujithkrishnan
Jul 14, 2008, 09:34 AM
Hi all.


In my iPhone App, i am using a viewcontroller, in which i added a datePicker.
This viewController is pushed when i select a button "SELCT DATE" from parent viewController. I realised that my app crashes sometimes, but 80% it crashes when i take this view controller, moreover i relaised that this viewcontroller is loading little bit slowly than other viewcontrollers...
However there are scenario that this viewControler loaded succesfully.


Dont know whether its right or not, but i felt that the crash occurs if i am changing the date soon the page loads..I am not doing anything in the viewDidAppear of new view controller... All the code are in loadView method.