CJLabel icon indicating copy to clipboard operation
CJLabel copied to clipboard

A drop-in replacement for UILabel that supports NSAttributedString, rich text, display any view, links, select copy and more

Results 22 CJLabel issues
Sort by recently updated
recently updated
newest added

因为需要展示自己设计的系统表情类图片,需要将图片放在imageView上转换成Attachment展示

![WechatIMG65](https://user-images.githubusercontent.com/14291273/140262522-b4c106d4-eb4a-4f7d-905c-b3d6f8072287.jpeg) ![WechatIMG64](https://user-images.githubusercontent.com/14291273/140262553-3badb89d-07c8-4f97-b5b0-02db6acb6ac6.jpeg)

不知道基于什么考虑,添加了这些代码 unichar spacingChar = 0xFFFC; NSString *spacingCharString = [NSString stringWithCharacters:&spacingChar length:1]; //空白占位符 NSAttributedString *placeholderStr = [[NSAttributedString alloc]initWithString:spacingCharString]; [str appendAttributedString:placeholderStr];

其实就是键盘和UIMenuController的并存问题: 1.需要增加一个自定义的TextView,支持设置nextResponder 2.CJLabel需要增加一个长按的回调或者通知,让业务层去监听当前谁即将成为Responder, 业务层去设置TextView的nextResponder 3.自定义的TextView需要监听UIMenuController的生命周期,取消nextResponder

如果是fffffffffff这样的文本或者是office之类的就会显示.... ![WechatIMG104](https://user-images.githubusercontent.com/19600507/113981896-c1377000-987a-11eb-94ad-67574038317a.jpeg)

一个CTLine里面,不同CTRun,它们的下划线没有处在同一水平线上,如何调整

现有bug: numberOfLines大于0且小于实际label.numberOfLines,同时verticalAlignment不等于CJContentVerticalAlignmentTop时,文本显示位置有偏差 您的这个三方库这个问题太致命了, 会导致布局紊乱. 我这边只需要您的库的选择复制功能.

点击图片之后,闪一下图片就变不显示了,点按在图片位置会显示出来