iOS 通知

2017-08-28  本文已影响23人  ReidWang

NSNotificationCenter will call the selector provided in 

addObserver:selector:name:object:

with a single argument of type NSNotification. 

The selector is called in the same thread in which the notification was posted.

通知中心接收到通知后,调用执行方法的线程 与 post 发出通知的方法 在同一个线程。

通知更多介绍

上一篇 下一篇

猜你喜欢

热点阅读