Stop .xib file from reloading

Discussion in 'iOS Programming' started by ilx.mac, Apr 3, 2009.

  1. ilx.mac macrumors member

    Mar 10, 2009
    Hi there,

    I am developing an application for iphone. I am moving from a.xib to b.xib & fetching a value & return back to a.xib. By the mean time all values entered in the textfields of the a.xib files getting cleared (I am building the whole page on the viewdidload method). I want stop this. Is there any suggestion on that?
  2. dejo Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State
  3. eddietr macrumors 6502a

    Oct 29, 2006
    What exactly do you mean by switching from nib to nib?

    Do you mean you are going from one view controller to another and then back and your first view controller is redrawing a blank set of views?

    I guess it would be useful to see some code of what exactly you are trying to do.
  4. ilx.mac thread starter macrumors member

    Mar 10, 2009

    Thanks for the input guys.

    i made it the other way, by calling [self.navigationController popViewControllerAnimated:YES]; in the form B's back button & it moves to form A now.

Share This Page