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.
我有一个应用程序,我的要求是在顶部有一个窗口,但它应该拒绝所有键盘事件。我怎样才能做到这一点 ??
您可以覆盖 AcceptFirstResponder: 在其内容视图上返回值为 NO 。