For instance, if I wanted to input 12345:
5
45
345
2345
12345
I can try and create my own method to do this, but I was wondering if there is a built in way to do this.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are a couple of ways to do this.
NSTextAlignmentRightwill probably fit your needs:But there is also
setBaseWritingDirection:UITextWritingDirectionRightToLeft. (Haven’t tested this I’m not on my computer)