开发者

how to manage the textview and textview text?

Iam developing one application.In that i use the textviews.IN that textviews there is a some gap开发者_如何转开发 between textview starting point and text.So please tell me how to decrease that gap.


Use the setContentInset message on the UITextView object and play around with the value passed to setContentInset as parameter. An example:

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

Where yourTextView is your UITextView object.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜