App crashed in function calculateStatusBarAreaAvgLuminance
Opened this issue · 1 comments
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.
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.'