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.
如何隐藏 iPhone 上的文本字段光标?
你的意思是这个...
[currentlySelectedTextField resignFirstResponder];
这将导致文本字段失去焦点并且键盘再次隐藏。
如果你想隐藏闪烁的光标线......我认为你不能轻易做到这一点。