diff --git a/src/Three20UINavigator/Sources/TTBaseNavigator.m b/src/Three20UINavigator/Sources/TTBaseNavigator.m index f33c3cc36a..1e56d1551c 100644 --- a/src/Three20UINavigator/Sources/TTBaseNavigator.m +++ b/src/Three20UINavigator/Sources/TTBaseNavigator.m @@ -74,10 +74,12 @@ - (id)init { selector:@selector(applicationWillLeaveForeground:) name:UIApplicationWillTerminateNotification object:nil]; - [center addObserver:self - selector:@selector(applicationWillLeaveForeground:) - name:UIApplicationDidEnterBackgroundNotification - object:nil]; + if (nil != &UIApplicationDidEnterBackgroundNotification) { + [center addObserver:self + selector:@selector(applicationWillLeaveForeground:) + name:UIApplicationDidEnterBackgroundNotification + object:nil]; + } } return self; }