| | |
| | | self = [super init]; |
| | | if (self) { |
| | | self.title = @"发现"; |
| | | UITabBarItem *item = [[UITabBarItem alloc]initWithTitle:self.title image:[UIImage imageNamed:@"Navigation-拷贝"] selectedImage:[UIImage imageNamed:@"Navigation"]]; |
| | | item.titlePositionAdjustment = UIOffsetMake(0, -5); |
| | | self.tabBarItem = item; |
| | | // UITabBarItem *item = [[UITabBarItem alloc]initWithTitle:self.title image:[UIImage imageNamed:@"Navigation-拷贝"] selectedImage:[UIImage imageNamed:@"Navigation"]]; |
| | | // item.titlePositionAdjustment = UIOffsetMake(0, -5); |
| | | // self.tabBarItem = item; |
| | | } |
| | | return self; |
| | | } |