0

my question is related to applicationWillEnterForeground: reload Data from ViewController. I want to reload view when application will enter foreground. But I have a lot of Views. How to know which view to reload ? Because I dont want to reload all views in applicationWillEnterForeground: method.

Community
  • 1
  • 1
Jim
  • 8,874
  • 16
  • 68
  • 125
  • your question is to vague. What do you mean by 'reload view', update the GUI, refresh data content? – Niko Apr 12 '12 at 04:46
  • Note that on UIViewController you have a function named -(void)viewWillAppear that, as its name says, is called each time the view of this UIViewController is displayed on the screen. Useful to update view content for example. – Niko Apr 12 '12 at 04:47

0 Answers0