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:
then typing word, shifts , can't see thing:
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
Post a Comment