所以问题就是这个主题问题 - 我想要摆脱这个非常烦人的警告。
有没有办法让它变得静默?
注意:我仅在调试目的下使用dispatch_get_current_queue()。
有没有办法让它变得静默?
注意:我仅在调试目的下使用dispatch_get_current_queue()。
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
dispatch_get_current_queue() // your deprecated calling code
#pragma clang diagnostic pop