NSNotificationCenter 中的addObserver和addObserverForName的释放问题
NSNotificationCenter 中的addObserver和addObserverForName的释放问题。(如果释放不对,会出现一次post,收到多次消息的问题)1.加入观察者[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(dealWithNote:) name:@"NoteName" o...
原创
2018-03-05 15:09:12 ·
2007 阅读 ·
0 评论