ios - Text in UITextField will not center properly -


i think question related thread. have login screen 2 uitextfields (user/pass). both horizontally center aligned placeholder text. when press field, placeholder text jumps bit left , marker positioned after first character (which looks awful).

text field in focus.

when start typing, clear button appears (as should) text not correctly centered in uitextfield view.

textfield text

the problem occurs when text field has first responder.

how can make darn text , placeholder text stay in center of text field???

update: text field settings in storyboard:

text field settings in storyboard

please see control alignment in below image , set accordingly. solve problementer image description here


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -