UITextView底端有两行的空白区域的处理方法---重写

-(void)setContentInset:(UIEdgeInsets)s
{
	UIEdgeInsets insets = s;
 
	if(s.bottom>8) insets.bottom = 0;
	insets.top = 0;
 
	[super setContentInset:insets];
}

http://www.hanspinckaers.com/multi-line-uitextview-similar-to-sms
http://stackoverflow.com/questions/3696443/remove-bottom-space-from-uitextview

posted on 2012-06-12 11:24  easonoutlook  阅读(472)  评论(0编辑  收藏  举报