2011-09-19 34 views

回答

1

在UITextView對象上使用setContentInset消息,並使用傳遞給setContentInset的值作爲參數。例如:

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

其中yourTextView是您的UITextView對象。