在viewWillAppear里面移除了系统的tabbarbutton,但是出现了黑色条
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
//移除系统的tabBarButton
for (UIView *tabBarButton in self.tabBar.subviews) {
if ([tabBarButton isKindOfClass:NSClassFromString(@"UITabBarButton") ]) {
[tabBarButton removeFromSuperview];
}
}
}
如图
怎么让这个黑色的view变回透明呢
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...