Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]:iOS18系统下tabBar 下面UITabBarButton _UIBadgeView 是个红色的大点怎么解决? #616

Open
jiangyongchang126 opened this issue Sep 20, 2024 · 0 comments
Assignees
Labels

Comments

@jiangyongchang126
Copy link

tabbar控制器 继承 CYLTabBarController
初始化:
UIEdgeInsets imageInsets = UIEdgeInsetsMake(4.5, 0, -4.5, 0);

UIOffset titlePositionAdjustment = UIOffsetMake(0, 0);
if (self = [super initWithViewControllers:[self viewControllersForTabBar]
                    tabBarItemsAttributes:[self tabBarItemsAttributesForTabBar]
                              imageInsets:imageInsets
                  titlePositionAdjustment:titlePositionAdjustment
                                  context:context
            ]) {
    [self customizeTabBarAppearanceWithTitlePositionAdjustment:titlePositionAdjustment];
    self.delegate = self;
    self.navigationController.navigationBar.hidden = YES;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants