2011-09-19 83 views

回答

1

在UITextView对象上使用setContentInset消息,并使用传递给setContentInset的值作为参数。例如:

[yourTextView setContentInset:UIEdgeInsetsMake(-8,-8,0,0)]; 

其中yourTextView是您的UITextView对象。