开发者

What is "(id) sender"

What does (id)sender in -开发者_运维技巧(IBAction)PushButton: (id)sender stand for ?


It's the object that triggered the event. E.g. sender will be the button that was pressed.


sender is an object that triggered an action, so in your case it is probably the button that was tapped.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜