UI code don't run on main thread
hulonghui106 opened this issue · comments
longhui.hu commented
HRColorMapView.m
- (void)_init;
at row: 184
[_initializeQueue addOperationWithBlock:^{
[self createColorMapLayer]; ---------------> this code may be have problem.
dispatch_async(dispatch_get_main_queue(), ^{
(2) ------------> maybe code here , there will run on main thread