Although you can comment on this line of code in the AppDelegate.m project file (which I usually do not recommend), you can also simply suppress the warning using the following #pragma directives:
#pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-declarations" - (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions { return YES; } #pragma clang diagnostic pop
source share