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

iOS11.3 崩溃问题 #470

Open
yunshuai opened this issue May 2, 2018 · 2 comments
Open

iOS11.3 崩溃问题 #470

yunshuai opened this issue May 2, 2018 · 2 comments

Comments

@yunshuai
Copy link

yunshuai commented May 2, 2018

YYKitDemo里面一点击Text里面的Text Edit就崩溃
崩溃信息如下:
2018-05-02 11:53:53.245985+0800 YYKitDemo[384:47509] *** Assertion failure in -[UIVisualEffectView _addSubview:positioned:relativeTo:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit/UIKit-3698.52.10/UIVisualEffectView.m:1558
2018-05-02 11:53:53.250730+0800 YYKitDemo[384:47509] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '<UILabel: 0x104c40a50; frame = (10 0; 54.9102 40); text = 'Vertical:'; userInteractionEnabled = NO; layer = <_UILabelLayer: 0x104c3f8e0>> has been added as a subview to <UIVisualEffectView: 0x104c3b620; frame = (0 64; 375 40); layer = <CALayer: 0x104c3b880>>. Do not add subviews directly to the visual effect view itself, instead add them to the -contentView.'

@willokyes
Copy link

请告知下崩溃时的环境: iOS 版本,模拟器版本等

@status302
Copy link

@yunshuai @willokyes
可参考这个 PR 解决

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

3 participants