gpt4 book ai didi

objective-c - NSControl 和 sendActionsForControlEvents 类型

转载 作者:行者123 更新时间:2023-12-03 16:42:47 25 4
gpt4 key购买 nike

我有一个问题...正在寻找与 NSControl 的 sendActionsForControlEvents(来自 iOS UIControl)类似的方法?

Mac 上有类似的东西吗?我需要获取有关更改自定义开关状态的信息。

谢谢!

最佳答案

只需为您的交换机提供 IBAction,并从发送者参数获取交换机的状态。

关于objective-c - NSControl 和 sendActionsForControlEvents 类型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12535555/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com