开发者

Core Text and copy 'n paste on iOS

Is it possible in iOS to 开发者_StackOverflow中文版render complex text with CoreText and have copy 'n paste feature? I’ve found a lot of example about CoreText rendering but nothing that concerns copy 'n paste.


Yes, but you have to implement Copy & Paste yourself through use of UIMenuController. There is no 'built in' support in CoreText for Copy & Paste, as CoreText is a very low level library.


RyanR is correct, there's no built in support in CoreText for Copy & Paste, but you can make your own copy & paste.

Take a look at this other topic post.

Core Text - select text in iPhone?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜