How to refresh textfield after modal view disappears?

Discussion in 'iOS Programming' started by nottooshabby, Sep 20, 2008.

  1. nottooshabby macrumors 6502

    Joined:
    Jul 12, 2008
    #1
    I am displaying a modal view to collect some inputs from the user. When the user hits apply in the modal view, the modal view disappears. I sum those inputs obtained from the modal view and I want to display the value obtained fin the parent view. I can't figure out how to get the textfield to refresh right after the modal view disappears with the new number. It only updates once I hit the calculate button on the parent view.
     
  2. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #2
    When do you set the text property of the textfield?
     
  3. nottooshabby thread starter macrumors 6502

    Joined:
    Jul 12, 2008
    #3
    I figured it out. I needed to put the update for the field in the viewwillappear function
     

Share This Page