开发者

uitableview to fake a multifont uitextview

开发者 https://www.devze.com 2022-12-29 07:06 出处:网络
has anyone used a uitableview to write a uitextview-like interface where I would be开发者_运维问答 able to use multiple fonts?

has anyone used a uitableview to write a uitextview-like interface where I would be开发者_运维问答 able to use multiple fonts?

How would I arrange the table and responder?

I need to have a editable view which deals with raw text (the font info would be stored elsewhere). UIWebView doesn't cut it because of both reasons.


why not add a UILabel to a cell in UITableView. You can use whatever font you want in UILabel.

Also have a hidden UITextView so that you can call first responder on it to bring up the keyboard.


You're probably better off just using UIWebView for this.

0

精彩评论

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