Getting Labeled Text in a UITextField

How to get legitimate text using UTTextField. It has the textAlignment property. But the UITextAlignment constant has only left, right, and center alignment.

What I'm looking for is Grounded text distributed in a text editor with a text flash with left and right edges. This text field is read-only.

I have seen this in several iPhone apps. Something seems to be missing me.

+5
source share
2 answers

This may be a bit overkill, but one way is to use WebView for it and style the text using CSS.

+1
source

UILabel UITextField . UITextField, UITextField drawTextInRect:, sizeWithFont:, , .

, .

+1

All Articles