开发者

Why cursor doesn't reach till end of frame in UITextView

开发者 https://www.devze.com 2023-03-07 18:22 出处:网络
Thanks to all, My question looks stupid but I have开发者_如何学C problem with UITextView. Why cursor doesn\'t reach to the end frame and than scroll.

Thanks to all,

My question looks stupid but I have开发者_如何学C problem with UITextView.

Why cursor doesn't reach to the end frame and than scroll.

Why cursor doesn't reach till end of frame in UITextView


This is how the UITextView has been designed. It's basically the same logic as a typewriter. You see white space below all the time. If you want to remove that space, there's a @property that could help you remove that:

-setContentInset:(UIEdgeInset)inset

Remember that UITextView is a subclass of UIScrollView. There's a lot of customization you can achieve by changing settings.

0

精彩评论

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