I'm writing an iPhone app against the Base 4.0 SDK, but I'm targeting OS 3.1.3 so OS 3 users can use the app.
I call:
[[UIApplication sharedApplication] setStatusBarHidden:YES animated:YES];
which is deprecated in iOS 4.0. I'm aware of this, and have measures in place to call the newer "withAnimation" version if we are running under iOS 4.0 or greater.
However, I'm getting a warning that I'm calling a deprecated SDK.
I'd like to disable this specific warning in this specific place. I want all other warnings (including the same deprecated warning in other locations)
Can this be accomplished in XCode?