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

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -