iOS开发 objective c使用代码触发按钮的点击事件

652 阅读1分钟

在一些特殊的情况下,需要使用代码来触发某个按钮的点击事件 触发方法如下:

[myButton sendActionsForControlEvents:<#(UIControlEvents)#>]