Present UIView on top of UITabBar
I am drawing a custom view (UIDatePicker) over my table view which is ne开发者_运维问答sted within a UITabBarController. When I add my custom view as below, it gets clipped by the tab bar.
[self.view addSubview:customDateView];
Does anyone have a recommendation on how to go around this? Can I hide the tab bar?
Thanks in advance, Ricky.
For anyone else with this problem, just set the view's hidesBottomBarWhenPushed property to YES.
精彩评论