开发者

how to place a oval shaped UITextField

开发者 https://www.devze.com 2022-12-25 14:54 出处:网络
How to change the UITextFie开发者_Python百科ld to oval shape ? link shows a screenshot of thatIf you mean Round Rect as oval then try this

How to change the UITextFie开发者_Python百科ld to oval shape ?

link shows a screenshot of that


If you mean Round Rect as oval then try this

theTextField.borderStyle=UITextBorderStyleRoundedRect;

Edit

See this Link.here they have created the round rect text field using quartz core framework.

All the best.


i used a image which looks like a oval textbox as a backgroun.

link

0

精彩评论

暂无评论...
验证码 换一张
取 消