We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
self.tabBar.backgroundImage = [UIImage imageNamed:@"666"];
设置backgroundImage不显示,设置0个tabBarItem时显示,设置多个item时就不显示,只是给item设置了图片,用了最基本的代码,其他没做:
NSDictionary *firstTabBarItemsAttributes = @{ // CYLTabBarItemTitle : @"首页", CYLTabBarItemImage : @"home_normal", /* NSString and UIImage are supported*/ CYLTabBarItemSelectedImage : @"home_highlight", /* NSString and UIImage are supported*/ }; NSDictionary *secondTabBarItemsAttributes = @{ // CYLTabBarItemTitle : @"鱼塘", CYLTabBarItemImage : @"fishpond_normal", CYLTabBarItemSelectedImage : @"fishpond_highlight", }; NSDictionary *thirdTabBarItemsAttributes = @{ // CYLTabBarItemTitle : @"鱼塘", CYLTabBarItemImage : @"account_normal", CYLTabBarItemSelectedImage : @"account_highlight", };
求解!
The text was updated successfully, but these errors were encountered:
ChenYilong
No branches or pull requests
My issue:
设置backgroundImage不显示,设置0个tabBarItem时显示,设置多个item时就不显示,只是给item设置了图片,用了最基本的代码,其他没做:
求解!
The text was updated successfully, but these errors were encountered: