is there something that can call a -(void) every time a view shows.
I am rotating between two views, so when i go to the second view and then return to the first view I want a void to be called automatically from the first view
I've try to do this with
and
by putting a NSLog in them but it doesn't print when i return to the first view. any suggestions?
something like viewDidShow
I am rotating between two views, so when i go to the second view and then return to the first view I want a void to be called automatically from the first view
I've try to do this with
Code:
-(void)viewWillAppear:(BOOL)animated
Code:
- (void)viewDidLoad
something like viewDidShow