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.

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