If you ever needed to set the status bar hidden in the Monotouch application, and wanted to do it correctly for code that works backwards compatible with OS 3.X when developing on iOS SDK 4.X, as well as for newer devices, here is the answer :
if (UIApplication.SharedApplication.RespondsToSelector(new Selector("setStatusBarHidden: withAnimation:")))
UIApplication.SharedApplication.SetStatusBarHidden(true, UIStatusBarAnimation.Fade);
else
UIApplication.SharedApplication.SetStatusBarHidden(true, true);
source
share