"how to suppress the deprecation warning “dispatch_get_current_queue() is deprecated…in ios 6.0”?" Code Answer

4

you could use the following code to suppress the warnings.

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-wdeprecated-declarations"

dispatch_get_current_queue() // your deprecated calling code

#pragma clang diagnostic pop
By rzetterberg on April 3 2022

Answers related to “how to suppress the deprecation warning “dispatch_get_current_queue() is deprecated…in ios 6.0”?”

Only authorized users can answer the Search term. Please sign in first, or register a free account.