怪我咯2017-04-17 13:17:34
Damn it, when I came in, I saw that I was an acquaintance. . . I haven't done this, but I think I've seen it.
The external subscript code is as follows:
[UIApplicationsharedApplication].applicationIconBadgeNumber = 2333;
The corner mark of this Tabbar is like this:
UITabBarItem *item = [[UITabBarItem alloc] initWithTitle:@"建伟傻逼" image:nil tag:0];
customItem1.badgeValue = @"2333";
So the code is different.
By the way, Cell, UILabel
can be achieved by setting the background color to red and rounded corners
ringa_lee2017-04-17 13:17:34
What you said above is correct, add a UILabel
Change the font color and background color
Then change the corner in the layer
That value should be half of your UILabel