I would say that it should be solved .. I need to be solved ... thanks.
Code: Select all
_airconsoleMgr = [AirconsoleMgr new];
_airconsoleMgr.delegate = self;
_airconsoleMgr = nil
Result is exception:
Terminating app due to uncaught exception 'NSRangeException', reason: 'Cannot remove an observer <AirconsoleMgr 0x7aedf860> for the key path "UIApplicationDidEnterBackgroundNotification" from <NSNotificationCenter 0x7ae757c0> because it is not registered as an observer