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
YYLabel.m中的setFontName_:方法中使用了containsString:方法,在YYTextView中也同样使用了这个iOS8以上才提供的方法。建议使用([str rangeOfString:@"target"].length > 0)代替
The text was updated successfully, but these errors were encountered:
iOS 7 compatible when set font name with InterfaceBuilder:#404
eb6ab79
感谢指出问题。
目前只有在用 InterfaceBuilder 来手动填写 FontName 时才会遇到,再加上 YYKit 和 YYTextDemo 里为了兼容旧版本已经重写了 containsString 方法,所以一直没注意到吧,疏忽了。
Fixed: eb6ab79
Sorry, something went wrong.
我也是被这个方法坑过好几次了,然后就稍微注意了一下😂
No branches or pull requests
YYLabel.m中的setFontName_:方法中使用了containsString:方法,在YYTextView中也同样使用了这个iOS8以上才提供的方法。建议使用([str rangeOfString:@"target"].length > 0)代替
The text was updated successfully, but these errors were encountered: