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:
有可能做到吗????如果是,那怎么办???
我认为这可以解决您的问题。它使用不同的格式,尝试用你想要的数字格式替换它
是的,这样的事情是可能的。例如,如果您使用 IB,则可以将 a 的样式设置UITextField如下:
UITextField
通过设置文本字段的Borders Style属性,您甚至可以做一些简单的事情,例如UIImageView在此文本字段后面放置一个,从而达到预期的效果。
Borders Style
UIImageView