xcode - Refreshing a ViewController with UITabBar application -
i'm using common tabbar application got 1 viewcontroller calculus , 1 make drawings these results.
it works quite first time viewdidload method. doesn't refresh other time when change values in first tab , switch tabs.
the viewwillappear method doesn't seem called when come again in graph viewcontroller.
the drawing values shared sigleton , can refresh lame push button now. know how trigger refresh automatically ?
thank in advance.
viewwillappear gets called
...before receiver’s view displayed onscreen , before animations configured showing view. -apple documentation
so assuming using text fields receive data user, yes? if so, need refresh user "enters" text text field, either pressing return button on ios keyboard or other means(which ever way have set up). if can provide more information glad further assist you.
Comments
Post a Comment