Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

buttonClick method question

I am trying to programmatically invoke a routine that I've written to handle a button press.

I see reference to the buttonClick property but when I try using it I get an error.

Where else would I need a buttonClick property if not with a UIButton?

I tried to write the code in a block but that didn't work. The "scope" was wrong.

In BASIC I'd just call a subroutine.

Here's what I'm trying to do - along with the error message. I would appreciate some help please.


_locButton.performClick(); property ‘performClick’ not found on object of type “UIButton”

Mac mini, iOS 8.1.3

Posted on Jul 6, 2015 11:21 PM

Reply

There are no replies.

buttonClick method question

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.