年度盛典appicon、tabbarIcon替换
Before Width: | Height: | Size: 58 KiB |
BIN
xplan-ios/Assets.xcassets/AppIcon.appiconset/120pt 1.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
xplan-ios/Assets.xcassets/AppIcon.appiconset/120pt.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
xplan-ios/Assets.xcassets/AppIcon.appiconset/180pt.png
Normal file
After Width: | Height: | Size: 9.9 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 3.2 KiB |
BIN
xplan-ios/Assets.xcassets/AppIcon.appiconset/40pt.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 4.4 KiB |
BIN
xplan-ios/Assets.xcassets/AppIcon.appiconset/58pt.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
xplan-ios/Assets.xcassets/AppIcon.appiconset/60pt.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 6.9 KiB |
BIN
xplan-ios/Assets.xcassets/AppIcon.appiconset/80pt.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
xplan-ios/Assets.xcassets/AppIcon.appiconset/87pt.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 130 KiB |
@@ -1,55 +1,55 @@
|
|||||||
{
|
{
|
||||||
"images" : [
|
"images" : [
|
||||||
{
|
{
|
||||||
"filename" : "20pt@2x.png",
|
"filename" : "40pt.png",
|
||||||
"idiom" : "iphone",
|
"idiom" : "iphone",
|
||||||
"scale" : "2x",
|
"scale" : "2x",
|
||||||
"size" : "20x20"
|
"size" : "20x20"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename" : "20pt@3x.png",
|
"filename" : "60pt.png",
|
||||||
"idiom" : "iphone",
|
"idiom" : "iphone",
|
||||||
"scale" : "3x",
|
"scale" : "3x",
|
||||||
"size" : "20x20"
|
"size" : "20x20"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename" : "29pt@2x.png",
|
"filename" : "58pt.png",
|
||||||
"idiom" : "iphone",
|
"idiom" : "iphone",
|
||||||
"scale" : "2x",
|
"scale" : "2x",
|
||||||
"size" : "29x29"
|
"size" : "29x29"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename" : "29pt@3x.png",
|
"filename" : "87pt.png",
|
||||||
"idiom" : "iphone",
|
"idiom" : "iphone",
|
||||||
"scale" : "3x",
|
"scale" : "3x",
|
||||||
"size" : "29x29"
|
"size" : "29x29"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename" : "40pt@2x.png",
|
"filename" : "80pt.png",
|
||||||
"idiom" : "iphone",
|
"idiom" : "iphone",
|
||||||
"scale" : "2x",
|
"scale" : "2x",
|
||||||
"size" : "40x40"
|
"size" : "40x40"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename" : "40pt@3x.png",
|
"filename" : "120pt 1.png",
|
||||||
"idiom" : "iphone",
|
"idiom" : "iphone",
|
||||||
"scale" : "3x",
|
"scale" : "3x",
|
||||||
"size" : "40x40"
|
"size" : "40x40"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename" : "60pt@2x.png",
|
"filename" : "120pt.png",
|
||||||
"idiom" : "iphone",
|
"idiom" : "iphone",
|
||||||
"scale" : "2x",
|
"scale" : "2x",
|
||||||
"size" : "60x60"
|
"size" : "60x60"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename" : "60pt@3x.png",
|
"filename" : "180pt.png",
|
||||||
"idiom" : "iphone",
|
"idiom" : "iphone",
|
||||||
"scale" : "3x",
|
"scale" : "3x",
|
||||||
"size" : "60x60"
|
"size" : "60x60"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"filename" : "1024_1024.png",
|
"filename" : "APP Store 1024_1024.png",
|
||||||
"idiom" : "ios-marketing",
|
"idiom" : "ios-marketing",
|
||||||
"scale" : "1x",
|
"scale" : "1x",
|
||||||
"size" : "1024x1024"
|
"size" : "1024x1024"
|
||||||
|
Before Width: | Height: | Size: 799 B After Width: | Height: | Size: 3.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 794 B After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 938 B After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 5.3 KiB |
@@ -443,7 +443,7 @@ UIKIT_EXTERN NSString *kTabShowAnchorCardKey;
|
|||||||
- (void)initTabs:(BOOL)logined {
|
- (void)initTabs:(BOOL)logined {
|
||||||
self.viewControllers = nil;
|
self.viewControllers = nil;
|
||||||
NSArray *normalImageNames = @[@"tab_gameHome_normal",@"tab_monents_normal",@"tab_message_normal", @"tab_mine_normal"];
|
NSArray *normalImageNames = @[@"tab_gameHome_normal",@"tab_monents_normal",@"tab_message_normal", @"tab_mine_normal"];
|
||||||
NSArray *selectImageNames = @[@"tab_gameHome_selected",@"tab_monents_select",@"tab_message_selected", @"tab_mine_selected"];
|
NSArray *selectImageNames = @[@"tab_gameHome_normal",@"tab_monents_normal",@"tab_message_normal", @"tab_mine_normal"];
|
||||||
NSArray *tabLabel = @[@"派对",@"广场",@"消息", @"我的"];
|
NSArray *tabLabel = @[@"派对",@"广场",@"消息", @"我的"];
|
||||||
|
|
||||||
UIViewController *game;
|
UIViewController *game;
|
||||||
@@ -482,9 +482,9 @@ UIKIT_EXTERN NSString *kTabShowAnchorCardKey;
|
|||||||
itemVc.title = title;
|
itemVc.title = title;
|
||||||
itemVc.tabBarItem.image = [[UIImage imageNamed:image] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
|
itemVc.tabBarItem.image = [[UIImage imageNamed:image] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
|
||||||
itemVc.tabBarItem.selectedImage = [[UIImage imageNamed:selectedImage] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
|
itemVc.tabBarItem.selectedImage = [[UIImage imageNamed:selectedImage] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];
|
||||||
[itemVc.tabBarItem setTitleTextAttributes:@{NSForegroundColorAttributeName:[ThemeColor appMainColor]} forState:UIControlStateSelected];
|
[itemVc.tabBarItem setTitleTextAttributes:@{NSForegroundColorAttributeName:UIColorFromRGB(0x333333)} forState:UIControlStateSelected];
|
||||||
[itemVc.tabBarItem setTitleTextAttributes:@{NSForegroundColorAttributeName:[ThemeColor secondTextColor]} forState:UIControlStateNormal];
|
[itemVc.tabBarItem setTitleTextAttributes:@{NSForegroundColorAttributeName:UIColorFromRGB(0x999999)} forState:UIControlStateNormal];
|
||||||
|
itemVc.tabBarItem.titlePositionAdjustment = UIOffsetMake(0, 5);
|
||||||
BaseNavigationController *nav = [[BaseNavigationController alloc] initWithRootViewController:itemVc];
|
BaseNavigationController *nav = [[BaseNavigationController alloc] initWithRootViewController:itemVc];
|
||||||
return nav;
|
return nav;
|
||||||
}
|
}
|
||||||
|