iphone - Weird issue with UITextView -


i have issue uitextview. whenever try type uitextview goes beyond frame , can't seem anything. why this?

some screenshots:

when type in first word:

enter image description here

then typing word, shifts , can't see thing:

enter image description here

some code:

 self.messagetextview = [[uitextview alloc] initwithframe:cgrectmake(0, 0, 600, 30)];     [self.messagetextview setautocorrectiontype:uitextautocorrectiontypeno];     [self.messagetextview setautocapitalizationtype:uitextautocapitalizationtypenone];     [self.messagetextview setfont:[uifont fontwithname:@"arialmt" size:16.0]];     self.messagetextview.delegate = self; 

did try, textview.contentinset = uiedgeinsetszero;


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 -