UIbutton IBOutlet to nib
I have a nib file with a UIView with a class created by me. on the view I
have a UIButton linked to the .h file. The connection is done, but when on
my .m file I want to change something on my UIButton nothing happens. One
of my methods does this:
[self.ButtonFacebook setTitle:@"Invite" forState:UIControlStateNormal];
but the title doesn't change. the same for alpha, hidden, etc. And the
method does get called. Why is this?
No comments:
Post a Comment