开发者

Present UIView on top of UITabBar

开发者 https://www.devze.com 2023-01-15 21:18 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消