Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
iOS Development
Touch Up Inside fine, Touch Down Not
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Mark FX" data-source="post: 1398619" data-attributes="member: 211556"><p>You have to drag from the UIButtons connections inspector to the app delegate, or view</p><p>controller class, and select the desired IBAction method.</p><p></p><p>By default all UIButton action events are set to touch up inside, and connected to the app</p><p>delegate with that connection, but you can also have any number of the other action</p><p>methods also connected to the same method.</p><p></p><p>Try and right click the button, then drag from the round connection marker, next to the touch</p><p>down action, and drag to the class object cube where the IBAction method is implemented,</p><p>and then select the method from the list.</p><p></p><p>Regards Mark</p></blockquote><p></p>
[QUOTE="Mark FX, post: 1398619, member: 211556"] You have to drag from the UIButtons connections inspector to the app delegate, or view controller class, and select the desired IBAction method. By default all UIButton action events are set to touch up inside, and connected to the app delegate with that connection, but you can also have any number of the other action methods also connected to the same method. Try and right click the button, then drag from the round connection marker, next to the touch down action, and drag to the class object cube where the IBAction method is implemented, and then select the method from the list. Regards Mark [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
macOS & iOS Developer Playground
iOS Development
Touch Up Inside fine, Touch Down Not
Top