cocoa touch - iPhone text input with rounded edges -
Is there a clear way to create a text input box that has made edges round?
I do not want to talk about setting the limit of UITextField by UITextBorderStyleRoundedRect it only gives me round corners.
I am talking about style text area which is used as an SMS app (before sending input), or as input in UISActbarbar. I have also seen that it is used in third party applications (for example, Comment Box in the Facebook app)
Is it possible to use standard cocoa touch? Or did I bring my own background image into the table?
You can also set the vertices of the radius on TextField, which is enough to look at your desired look Can give control:
textField.layer.cornerRadius = 10;
To access it, #import & lt; Be sure to include Quartzcore / Quartzcore H & GT.
A better answer, this can be just easier)
Comments
Post a Comment