How to make a UITextField without border in iPhone ?

By | June 23, 2011


In order to make a UITextField with out or no border, do like this.

In your .h class file,

IBOutlet UITextField *urTextField;

In your .m class file,

urTextField.borderStyle = UITextBorderStyleNone;

Thus you will get a UITextField named urTextField without border.


Leave a Reply

Your email address will not be published.