Open Settings warning issue in Xcode 6.3: Comparison of address of 'UIApplicationOpenSettingsURLString' not equal to a null pointer is always true
问题 I'm not inventing the wheel. In iOS8, to open Settings from inside the app I'm using this code: BOOL canOpenSettings = (&UIApplicationOpenSettingsURLString != NULL); if (canOpenSettings) { NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString]; [[UIApplication sharedApplication] openURL:url]; } The code is in a lot of answers and questions in stackoverflow. The problem came out with Xcode 6.3, I've got a warning saying: Comparison of address of