How to hide UITextField border?

后端 未结 7 1791
星月不相逢
星月不相逢 2020-12-30 21:00

I have a UITextField and I am trying to make the UITextField border invisible so that the background and UITextField would have the same color and there would be a seamless

7条回答
  •  情深已故
    2020-12-30 21:11

    You have to just set border style None

     textFieldName.borderStyle = UITextBorderStyleNone;
    

提交回复
热议问题