Stop .xib file from reloading

Discussion in 'iPhone/iPad Programming' started by ilx.mac, Apr 3, 2009.

  1. macrumors member

    Joined:
    Mar 10, 2009
    Messages:
    63
    #1
    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. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Messages:
    15,045
    Location:
    The Centennial State
    #2
    Maybe use awakeFromNib instead?
     
  3. macrumors 6502a

    Joined:
    Oct 29, 2006
    Messages:
    807
    Location:
    Virginia
    #3
    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. macrumors member

    Joined:
    Mar 10, 2009
    Messages:
    63
    #4
    Re

    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