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.
在我的 UITextView 中,每当我给出多个空格时,都会在单词的末尾添加一个点。当我使用它来获取电子邮件 ID 时,我不想要任何点,如何避免这种情况?我在 IB 中添加了 UITextView。我需要在那里做任何改变吗?
这是键盘设置。转到设置->常规->键盘并禁用"." shortcut。如果您添加两个连续的空格,它会插入句点。
"." shortcut
在界面生成器中,将键盘选项设置为电子邮件地址。