Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

iphone - what are the delegate methods available with uibutton

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

can any one tell me those mehods

UIButton Class Reference

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...