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.
我的文本超过了UITextField. 文本被截断,并在文本末尾添加点。EditText如果文本字段中的文本大于宽度,我如何实现(在 Android 中)我们可以在文本字段中滑动而不减小字体大小的功能。
UITextField
EditText
如果您的文本字段不可编辑,那么最好在 UIScrollView 中使用 UILabel。
希望这会奏效。
如果您需要代码示例,我可以提供。