ios - Outlets are showing nil -


i outleted views , buttons. , make synthesised on .m file. outlet properties (strong,nonatomic) though when try access on viewwillappear showing (nil). can me how access it? in advance.

go storyboard file, right-click on offending control, , make sure have variable name shown under "referencing outlets".

if it's not... control isn't bound variable, , that'd explain nil.

enter image description here

you can go .h file, , check iboutlets have filled in circles left of them. tells bound control.


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -