Code: Select all
self.acManager = nil;
the following exception is logged:
Code: Select all
*** Terminating app due to uncaught exception 'NSRangeException', reason: 'Cannot remove an observer <AirconsoleMgr 0x174265e00> for the key path "UIApplicationDidEnterBackgroundNotification" from <NSNotificationCenter 0x1700d6b20> because it is not registered as an observer.'
This suggests to me that somewhere along the way the AirconsoleMgr class registered itself as an observer for UIApplicationDidEnterBackgroundNotification, but that code was removed. Unfortunately, the de-registration code for this event was perhaps NOT removed from the -dealloc code for AirconsoleMgr.
This is a serious issue which I'd think is easy to fix and release.
Anyone?