crashing on loading viewController (sometimes)

Discussion in 'iPhone/iPad Programming' started by sujithkrishnan, Jul 14, 2008.

  1. macrumors 6502

    Joined:
    May 9, 2008
    Location:
    Bangalore
    #1
    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.
     

Share This Page