uibutton可用的委托方法是什么? [英] what are the delegate methods available with uibutton

查看:101
本文介绍了uibutton可用的委托方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在UITextField中我们有一些委托方法,比如UIButton中可用的任何委托方法

In UITextField we have some delegate methods like that any delegate method available in UIButton

任何人都可以告诉我那些方法

can any one tell me those mehods

UIButton类参考

UIButton Class Reference

推荐答案

UIButton 不会使用委托设计模式。没有 UIButtonDelegate 协议,也没有 UIButton 声明委托属性。

UIButton does not make use of the delegation design pattern. There is no UIButtonDelegate protocol nor UIButton declares a delegate property.

UIButton 通过从UIControl 将动作消息发送到目标对象。

UIButton uses the Target-Action design pattern through the methods inherited from UIControl to send action messages to a target object.

这篇关于uibutton可用的委托方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆