-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
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
XCode14打包在iOS12设备上崩溃问题 #51
Comments
目前先使用强转规避了崩溃问题😂 get {
if let temp = objc_getAssociatedObject(self, &UILabelActionsKey) {
return temp as! [NSRange: Action]
} else {
return [:]
}
} |
???? as! 可以规避吗? 类型应该是 [NSRange: [Action]] 不是 [NSRange: Action] |
强转成需要的返回类型就可以了 |
https://github.com/lixiang1994/AttributedString/releases/tag/3.3.4
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
XCode14打的Release包,在触发UILabel的点击事件方法时会造成崩溃.
The text was updated successfully, but these errors were encountered: