in my app I have a textfield and a send button within a toolbar, and I want to enable the send button (UIBarButtonItem) when the textfield is in use, and disable it when it is not. Its being a little stubborn, however.
I set the button's state to disable in interface builder, and I'm trying to call this action:
[myBarButtonItem setEnabled:YES];
and im trying to connect it to the textfield's "did begin editing" event but i can't get it to work. Any suggestions??
thanks
I set the button's state to disable in interface builder, and I'm trying to call this action:
[myBarButtonItem setEnabled:YES];
and im trying to connect it to the textfield's "did begin editing" event but i can't get it to work. Any suggestions??
thanks