I found this on StackOverflow regarding the problem, but was not able to solve my problem.
http://stackoverflow.com/questions/3028255/about-setstatusbarhidden
if([[UIApplication sharedApplication] respondsToSelector:@selector(setStatusBarHidden: withAnimation:)])
[[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:NO];
else
[[UIApplication sharedApplication] setStatusBarHidden:NO animated:NO];
I set my OS deployment target to 3.0, yet I still recieve the warning 'setStatusBarHidden:animated: is deprecated'
I'd like to have no warnings if possible in the project, and not a hack that removes it. Is there a way I'm supposed to set up the project to remove this warning?
I've set the project base SDK to 4.0. And the target Base SDK to 4.0, deployment target SDK to 3.0.
I made these settings for 'All configurations'
Thanks in advance
Update: Apparently the warning only appears in the simulator, not when set for Device.