ios - In iOS7: The cursor of right-aligned UITextField automatically moves to left side when input space -


please me fix issue.

in ios7, set uitextfield alignment right. when input space first character in text field. cursor automatically move left side of text field if textfield left-aligned.

this issue not happen in ios5, ios6.

i assuming don't wanna allow user enter space first character. if that's true solution work.

wire editing changed event of uitextfield method.

- (void)removespace : (uitextfield *)sender{      if ([sender.text  isequal: @" "]) {         sender.text = @"";     }   } 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -