iphone - UITextField responder line is overlapping with border, How to position responder? -


enter image description here

blue colored text positioning line overlapping border in uitextfield. please me out.

thanks in advance.
naveen.

create padding , add uitextfield follows:

uiview *paddingview = [[uiview alloc] initwithframe:cgrectmake(0, 0, 5, 20)]; yourtextfield.leftview = unpaddingview; yourtextfield.leftviewmode = uitextfieldviewmodealways; 

release padding view


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -