Status Bar problem
Status Bar problem
- Subject: Status Bar problem
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Fri, 03 Jan 2014 16:45:26 +0700
This works:
MyViewController *wwc = ...
self.navController = [[UINavigationController alloc] initWithRootViewController: wwc ];
self.window.rootViewController = self.navController;
In the Simulator for a iPhone 3.5 I see:
<UITableView:; frame = (0 0; 320 460); autoresize = W+H clipsToBounds = YES;
<UIViewControllerWrapperView: frame = (0 0; 320 460); autoresize = W+H;
<UINavigationTransitionView:; frame = (0 0; 320 460); autoresize = W+H; clipsToBounds = YES;
<UILayoutContainerView:; frame = (0 20; 320 460); autoresize = W+H;
<UIWindow:; frame = (0 0; 320 480); autoresize = W+H;
When I do Hardware →Toggle In-Call Status Bar the UILayoutContainerView changes: (0 0; 320 480) ↔ (0 20; 320 460)
But the iPad version does NOT work (status Bar overlaps):
UISplitViewController *spv = [ [ UISplitViewController alloc ] init ];
spv.viewControllers = @[ wwc, someOtherViewController ];
self.window.rootViewController = spv;
In the Simulator for Retina iPad I see:
<UITableView:; frame = (0 0; 320 1024); clipsToBounds = YES;
<UILayoutContainerView:; frame = (0 0; 768 1024); autoresize = W+H;
<UIWindow:; frame = (0 0; 768 1024); autoresize = W+H;
When I Toggle In-Call Status Bar the UILayoutContainerView does not change.
BUT: here the status bar overlaps the top of the UITableView, which looks rather ugly.
What am I doing wrong?
Gerriet.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden