Post

Replies

Boosts

Views

Activity

Reply to XCode 12 & iOS 14 getting crash and not able to know exact reason
@HighlyExperienced You need redesign your code to make it main-thread-safety or you can use this snippet for working with UIKit: void vkm_sync_main(dispatch_block_t block) {     if (block == nil) return;     if ([NSThread isMainThread]) {         block();     } else {         dispatch_sync(dispatch_get_main_queue(), block);     } }
Replies
Boosts
Views
Activity
Jan ’22