iOS: dispatch_get_global_queue QOS_CLASS_BACKGROUND crashes on 7.1.2

后端 未结 1 986
南旧
南旧 2021-01-23 03:37

I have following snippets of code that fetches contacts by using block:

if (&ABAddressBookCreateWithOptions != NULL) {
            CFErrorRef error = nil;

          


        
相关标签:
1条回答
  • The QOS_CLASS_ identifiers were introduced in iOS 8. You need to use the DISPATCH_QUEUE_PRIORITY_ identifiers if you want to support iOS 7.

    0 讨论(0)
提交回复
热议问题