PDA

View Full Version : How to refresh textfield after modal view disappears?




nottooshabby
Sep 20, 2008, 09:12 PM
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.



PhoneyDeveloper
Sep 20, 2008, 11:30 PM
When do you set the text property of the textfield?

nottooshabby
Sep 21, 2008, 12:08 AM
When do you set the text property of the textfield?

I figured it out. I needed to put the update for the field in the viewwillappear function