Posted By

vaishnavi on 12/09/10


Tagged

view UIViewController


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

vaishnavi
joshparnham
synced
Tintenklecks
cnathan


Refresh the view in UIViewController


 / Published in: Objective C
 

When you come back to the parent view controller after visiting controller and want to refresh the content, set the view to nil and then load it.

  1. if ([self isViewLoaded]) {
  2. self.view=nil;
  3. [self viewDidLoad];
  4. }

Report this snippet  

You need to login to post a comment.