Skip to content
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

ATTR方法在iPhone5S以上(64位设备)真机Release环境下会发生闪退,iPhone5和模拟器不会闪退,Debug环境也不会。 #35

Open
lszzy opened this issue Aug 10, 2015 · 0 comments

Comments

@lszzy
Copy link

lszzy commented Aug 10, 2015

示例:
$(dom).ATTR(@"display", @"none");

错误行数:
Samurai_HtmlRenderQuery.m第350行:
SamuraiHtmlRenderQueryBlockN block = (SamuraiHtmlRenderQueryBlockN)^ SamuraiHtmlRenderQuery * ( NSString * key, NSString * value )

错误原因:
可变参数导致的闪退问题。只有在iPhone5S以上(64位设备)真机Release环境下会发生闪退。
只要ATTR传了第二个参数,就会闪退。传一个参数不会。

无意中发现了,请测试并官方修复,谢谢啦。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant