Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我按下底部时,我需要在 TextField 中调用 Touch Up Inside 事件,我该怎么做?结果,当我按下底部时,另一个控件(文本字段)变为活动状态并出现键盘。
按下按钮时,您可以调用:
[myTextField becomeFirstResponder];