When I set up my app, and run it the status bar doesn't appear. I have a view controller named: "MOVViewController" with .xib file. In the AppDelegate.h I have this:
@property (nonatomic, retain) IBOutlet MOVViewController *viewController_;
In the .m, I have this:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
// Override point for customization after application launch.
self.window.backgroundColor = [UIColor whiteColor];
CGRect rcScreen = [[UIScreen mainScreen] applicationFrame];
_window = [[UIWindow alloc] initWithFrame:rcScreen];
viewController_ = [[MOVViewController alloc] init];
[_window addSubview:viewController_.view];
[self.window makeKeyAndVisible];
return YES;
}
When I run it, the viewcontroller appears, but there is no status bar. Why? Thank in advance