可能重复 Here & here (但他们没有解决我的问题)
我正在创建一个聊天 UI,其中我的文本框必须同时具有多行 功能和安全文本输入 功能。
UITextField 没有多行功能
UITextView 没有安全文本输入功能
我现在该怎么办?
Another doubt, if secureTextEntry for UITextView not going to work, why the heck they put that property inside UITextView Class
最佳答案
Only UITextField supports secureTextEntry, making a font that consists entirely of asterisks and use it in text view once you select secure option. Also be sure to disable copying.
关于ios - UITextVIew secureTextEntry 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41440781/