UITextField - Position the cursor during editing

0

I am making a UITextFied edit treatment to format text as decimal with decimal and thousands separators. My question is how to position the cursor always in the right corner of the text field?

Thankful

    
asked by anonymous 13.04.2015 / 19:00

1 answer

2

You can do this through the code:

[self.fieldValor setTextAlignment:NSTextAlignmentRight];

Or by Interface Builder , it has this property:

    
13.04.2015 / 19:36