Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
したがって、質問は主題の質問です-かなり迷惑なこの警告を取り除きたいです。
静かにする方法はありますか?
注: 私はデバッグ目的でのみ 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