if( [[UIApplication sharedApplication] respondsToSelector:@selector(terminate)] ) [[UIApplication sharedApplication] performSelector:@selector(terminate)];