我正在开发一个应用程序,我想在其中选择带有给定标签的按钮。例如标签=12。So, what I want is that when the button with tag 12 is selected the button clicked method also gets called.
我还想问一件事,如果我写
button.selected=YES
按钮方法会自动被调用吗?如果没有,那么如何从我没有发送者(按钮属性)值的其他地方调用按钮方法?
我唯一拥有的是按钮标签。
请帮助并要求我进行任何澄清。