2014年8月27日 星期三

notification results in “unrecognized selector sent to instance…”

NSNotificationCenter try to post it when Observer had release. So, just need to remove Observer.
- (void)dealloc
{
    [[NSNotificationCenter defaultCenter] removeObserver:self];
}

沒有留言: