开发者

Anyone know how it would be possible to change the cursor in a UITextView in iOS?

开发者 https://www.devze.com 2023-01-12 13:05 出处:网络
A customer has requested that they want the cursor in the UITextView to be horizontal instead of vertical开发者_高级运维. Anyone know how I might do that as there isn\'t any public API to modify the c

A customer has requested that they want the cursor in the UITextView to be horizontal instead of vertical开发者_高级运维. Anyone know how I might do that as there isn't any public API to modify the cursor.


I don't think you could do it in uitextview. If you're determined, you could write a new text editor using Core Text and render the cursor however you like. That's a lot of work though.

0

精彩评论

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

关注公众号