且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

NSNotificationCenter线程是否安全?

更新时间:2021-12-04 22:34:02

否。通知在与它们发送的相同的线程中传递,这将需要重新发送它以某种方式获得通知到您的线程。

No. Notifications are delivered in the same thread that they are sent from, this you will need to re-send it in some way to get the notification to your thread.