We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eg:
[totalStr addAttribute:NSFontAttributeName value:[UIFont systemFontOfSize:orginFont] range:NSMakeRange(0, string.length)];
The text was updated successfully, but these errors were encountered:
中间加了 NSTextAttachment 图片 会导致计算范围不准确,其余文字字体均已设置
Sorry, something went wrong.
加附件确实算不准,等有时间我研究下
我设置了 字体属性也有问题呀, swift版本是计算有问题 oc版本 是不会走计算方法
No branches or pull requests
必须设置字体属性,不然点击范围会不准确,重要的事情说三遍
必须设置字体属性!必须设置字体属性!必须设置字体属性!
eg:
The text was updated successfully, but these errors were encountered: