I’m developing an iOS 5 app.
I can’t understand why
myTextView.hidden = YES;
or
myTextView.hidden = NO;
is not working?
I have also tried to use [myTextView setHidden:( ! [myTextView isHidden])];
I have myTextView default set to hidden through IB in the xib.
Any help would be great!
Thanks
Is the connection between the
IBOutletand theUITextViewon the Xib file established? That’s my best guess for why that’s not working.Edit: I am assuming you have create the
UITextViewon the Xib and not on the code.