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

App crashed in function calculateStatusBarAreaAvgLuminance #16

Open
moon-jerry opened this issue Jun 4, 2020 · 1 comment
Open

App crashed in function calculateStatusBarAreaAvgLuminance #16

moon-jerry opened this issue Jun 4, 2020 · 1 comment

Comments

@moon-jerry
Copy link

calculateStatusBarAreaAvgLuminance throw error Thread 8: EXC_BAD_ACCESS (code=1, address=0x20) at line 74

layer.render(in: context)

but I checked both layer and context and they are not nil.

I have a view covers the full screen, including the status bar, I guess that's might be the reason.

@chinghoi
Copy link

calculateStatusBarAreaAvgLuminance throw error Thread 8: EXC_BAD_ACCESS (code=1, address=0x20) at line 74

layer.render(in: context)

but I checked both layer and context and they are not nil.

I have a view covers the full screen, including the status bar, I guess that's might be the reason.

I also encountered this problem, but i don't have a full screen view, my log display: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Modifications to the layout engine must not be performed from a background thread after it has been accessed from the main thread.'

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

2 participants