ios - Refreshing Viewcontroller? -
i have 2 viewcontrollers in storyboard project. once click tableview row in viewcontrollerone display contents of row passing value , settext labels in viewcontrollertwo. when tried third viewcontroller , clicking button third viewcontroller sending same arrayname different values not displaying in label in viewcontrollertwo.
why? how can refresh viewcontroller on viewdidload or while moving viewcontrollertwo ?
currently, add code viewcontrollertwo's viewdidload:
method.
[self.view setneedsdisplay]
you can reload view controller putting in applicationdidbecomeactive
[yourcontroller reloadinputviews];
however, why don't reload tableview using same tableview.
Comments
Post a Comment