I am making a simple application for iphone (for learning and education purposes). Inside the .XIB file there is a button used to clear all text fields on the screen. I create a “clear:” method for the button. assign the method to “Touch Up Inside”, but when I run the app in iOS Simulator the button acts like the “clear:” method has been assigned to “Touch Up Outside”. I click the button nothing happens, I click and hold the button then drag my mouse pointer outside of the button and let go and all text fields clear. Can anyone help me make it so “Touch Up Inside” works properly? (If I am completely mistaken, and sound like a noob just tell me, I am a beginner)
I am making a simple application for iphone (for learning and education purposes). Inside
Share
Are you sure you have it hooked up correctly to TouchUpInside? Try deleting that Send Event association, and redoing it.
It should look something like this: