罗广聪

修改icon和启动图 适配ipad

Showing 37 changed files with 314 additions and 12 deletions
@@ -1109,8 +1109,8 @@ @@ -1109,8 +1109,8 @@
1109 13B07F941A680F5B00A75B9A /* Debug */ = { 1109 13B07F941A680F5B00A75B9A /* Debug */ = {
1110 isa = XCBuildConfiguration; 1110 isa = XCBuildConfiguration;
1111 buildSettings = { 1111 buildSettings = {
1112 - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1112 + ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-1";
1113 - ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1113 + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "LaunchImage-1";
1114 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1114 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1115 CURRENT_PROJECT_VERSION = 1; 1115 CURRENT_PROJECT_VERSION = 1;
1116 DEAD_CODE_STRIPPING = NO; 1116 DEAD_CODE_STRIPPING = NO;
@@ -1125,6 +1125,7 @@ @@ -1125,6 +1125,7 @@
1125 PRODUCT_BUNDLE_IDENTIFIER = com.bhsgd.protectgod; 1125 PRODUCT_BUNDLE_IDENTIFIER = com.bhsgd.protectgod;
1126 PRODUCT_NAME = ProtectGod; 1126 PRODUCT_NAME = ProtectGod;
1127 PROVISIONING_PROFILE_SPECIFIER = ""; 1127 PROVISIONING_PROFILE_SPECIFIER = "";
  1128 + TARGETED_DEVICE_FAMILY = "1,2";
1128 VERSIONING_SYSTEM = "apple-generic"; 1129 VERSIONING_SYSTEM = "apple-generic";
1129 }; 1130 };
1130 name = Debug; 1131 name = Debug;
@@ -1132,8 +1133,8 @@ @@ -1132,8 +1133,8 @@
1132 13B07F951A680F5B00A75B9A /* Release */ = { 1133 13B07F951A680F5B00A75B9A /* Release */ = {
1133 isa = XCBuildConfiguration; 1134 isa = XCBuildConfiguration;
1134 buildSettings = { 1135 buildSettings = {
1135 - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1136 + ASSETCATALOG_COMPILER_APPICON_NAME = "AppIcon-1";
1136 - ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 1137 + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "LaunchImage-1";
1137 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1138 "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
1138 CURRENT_PROJECT_VERSION = 1; 1139 CURRENT_PROJECT_VERSION = 1;
1139 DEVELOPMENT_TEAM = S8LRX49C78; 1140 DEVELOPMENT_TEAM = S8LRX49C78;
@@ -1147,6 +1148,7 @@ @@ -1147,6 +1148,7 @@
1147 PRODUCT_BUNDLE_IDENTIFIER = com.bhsgd.protectgod; 1148 PRODUCT_BUNDLE_IDENTIFIER = com.bhsgd.protectgod;
1148 PRODUCT_NAME = ProtectGod; 1149 PRODUCT_NAME = ProtectGod;
1149 PROVISIONING_PROFILE_SPECIFIER = ""; 1150 PROVISIONING_PROFILE_SPECIFIER = "";
  1151 + TARGETED_DEVICE_FAMILY = "1,2";
1150 VERSIONING_SYSTEM = "apple-generic"; 1152 VERSIONING_SYSTEM = "apple-generic";
1151 }; 1153 };
1152 name = Release; 1154 name = Release;
  1 +{
  2 + "images" : [
  3 + {
  4 + "size" : "20x20",
  5 + "idiom" : "iphone",
  6 + "filename" : "Icon-App-20x20@2x.png",
  7 + "scale" : "2x"
  8 + },
  9 + {
  10 + "size" : "20x20",
  11 + "idiom" : "iphone",
  12 + "filename" : "Icon-App-20x20@3x.png",
  13 + "scale" : "3x"
  14 + },
  15 + {
  16 + "size" : "29x29",
  17 + "idiom" : "iphone",
  18 + "filename" : "Icon-App-29x29@1x.png",
  19 + "scale" : "1x"
  20 + },
  21 + {
  22 + "size" : "29x29",
  23 + "idiom" : "iphone",
  24 + "filename" : "Icon-App-29x29@2x.png",
  25 + "scale" : "2x"
  26 + },
  27 + {
  28 + "size" : "29x29",
  29 + "idiom" : "iphone",
  30 + "filename" : "Icon-App-29x29@3x.png",
  31 + "scale" : "3x"
  32 + },
  33 + {
  34 + "size" : "40x40",
  35 + "idiom" : "iphone",
  36 + "filename" : "Icon-App-40x40@2x.png",
  37 + "scale" : "2x"
  38 + },
  39 + {
  40 + "size" : "40x40",
  41 + "idiom" : "iphone",
  42 + "filename" : "Icon-App-40x40@3x.png",
  43 + "scale" : "3x"
  44 + },
  45 + {
  46 + "size" : "57x57",
  47 + "idiom" : "iphone",
  48 + "filename" : "Icon-App-57x57@1x.png",
  49 + "scale" : "1x"
  50 + },
  51 + {
  52 + "size" : "57x57",
  53 + "idiom" : "iphone",
  54 + "filename" : "Icon-App-57x57@2x.png",
  55 + "scale" : "2x"
  56 + },
  57 + {
  58 + "size" : "60x60",
  59 + "idiom" : "iphone",
  60 + "filename" : "Icon-App-60x60@2x.png",
  61 + "scale" : "2x"
  62 + },
  63 + {
  64 + "size" : "60x60",
  65 + "idiom" : "iphone",
  66 + "filename" : "Icon-App-60x60@3x.png",
  67 + "scale" : "3x"
  68 + },
  69 + {
  70 + "size" : "20x20",
  71 + "idiom" : "ipad",
  72 + "filename" : "Icon-App-20x20@1x.png",
  73 + "scale" : "1x"
  74 + },
  75 + {
  76 + "size" : "20x20",
  77 + "idiom" : "ipad",
  78 + "filename" : "Icon-App-20x20@2x-1.png",
  79 + "scale" : "2x"
  80 + },
  81 + {
  82 + "size" : "29x29",
  83 + "idiom" : "ipad",
  84 + "filename" : "Icon-App-29x29@1x-1.png",
  85 + "scale" : "1x"
  86 + },
  87 + {
  88 + "size" : "29x29",
  89 + "idiom" : "ipad",
  90 + "filename" : "Icon-App-29x29@2x-1.png",
  91 + "scale" : "2x"
  92 + },
  93 + {
  94 + "size" : "40x40",
  95 + "idiom" : "ipad",
  96 + "filename" : "Icon-App-40x40@1x.png",
  97 + "scale" : "1x"
  98 + },
  99 + {
  100 + "size" : "40x40",
  101 + "idiom" : "ipad",
  102 + "filename" : "Icon-App-40x40@2x-1.png",
  103 + "scale" : "2x"
  104 + },
  105 + {
  106 + "size" : "50x50",
  107 + "idiom" : "ipad",
  108 + "filename" : "Icon-Small-50x50@1x.png",
  109 + "scale" : "1x"
  110 + },
  111 + {
  112 + "size" : "50x50",
  113 + "idiom" : "ipad",
  114 + "filename" : "Icon-Small-50x50@2x.png",
  115 + "scale" : "2x"
  116 + },
  117 + {
  118 + "size" : "72x72",
  119 + "idiom" : "ipad",
  120 + "filename" : "Icon-App-72x72@1x.png",
  121 + "scale" : "1x"
  122 + },
  123 + {
  124 + "size" : "72x72",
  125 + "idiom" : "ipad",
  126 + "filename" : "Icon-App-72x72@2x.png",
  127 + "scale" : "2x"
  128 + },
  129 + {
  130 + "size" : "76x76",
  131 + "idiom" : "ipad",
  132 + "filename" : "Icon-App-76x76@1x.png",
  133 + "scale" : "1x"
  134 + },
  135 + {
  136 + "size" : "76x76",
  137 + "idiom" : "ipad",
  138 + "filename" : "Icon-App-76x76@2x.png",
  139 + "scale" : "2x"
  140 + },
  141 + {
  142 + "size" : "83.5x83.5",
  143 + "idiom" : "ipad",
  144 + "filename" : "Icon-App-83.5x83.5@2x.png",
  145 + "scale" : "2x"
  146 + }
  147 + ],
  148 + "info" : {
  149 + "version" : 1,
  150 + "author" : "xcode"
  151 + }
  152 +}
  1 +{
  2 + "images" : [
  3 + {
  4 + "orientation" : "portrait",
  5 + "idiom" : "iphone",
  6 + "extent" : "full-screen",
  7 + "scale" : "1x"
  8 + },
  9 + {
  10 + "orientation" : "portrait",
  11 + "idiom" : "iphone",
  12 + "extent" : "full-screen",
  13 + "scale" : "2x"
  14 + },
  15 + {
  16 + "orientation" : "portrait",
  17 + "idiom" : "iphone",
  18 + "extent" : "full-screen",
  19 + "subtype" : "retina4",
  20 + "scale" : "2x"
  21 + },
  22 + {
  23 + "orientation" : "portrait",
  24 + "idiom" : "ipad",
  25 + "extent" : "to-status-bar",
  26 + "scale" : "1x"
  27 + },
  28 + {
  29 + "orientation" : "portrait",
  30 + "idiom" : "ipad",
  31 + "extent" : "full-screen",
  32 + "scale" : "1x"
  33 + },
  34 + {
  35 + "orientation" : "landscape",
  36 + "idiom" : "ipad",
  37 + "extent" : "to-status-bar",
  38 + "scale" : "1x"
  39 + },
  40 + {
  41 + "orientation" : "landscape",
  42 + "idiom" : "ipad",
  43 + "extent" : "full-screen",
  44 + "scale" : "1x"
  45 + },
  46 + {
  47 + "orientation" : "portrait",
  48 + "idiom" : "ipad",
  49 + "extent" : "to-status-bar",
  50 + "scale" : "2x"
  51 + },
  52 + {
  53 + "orientation" : "portrait",
  54 + "idiom" : "ipad",
  55 + "extent" : "full-screen",
  56 + "scale" : "2x"
  57 + },
  58 + {
  59 + "orientation" : "landscape",
  60 + "idiom" : "ipad",
  61 + "extent" : "to-status-bar",
  62 + "scale" : "2x"
  63 + },
  64 + {
  65 + "orientation" : "landscape",
  66 + "idiom" : "ipad",
  67 + "extent" : "full-screen",
  68 + "scale" : "2x"
  69 + },
  70 + {
  71 + "extent" : "full-screen",
  72 + "idiom" : "iphone",
  73 + "subtype" : "736h",
  74 + "filename" : "HD5.5.png",
  75 + "minimum-system-version" : "8.0",
  76 + "orientation" : "portrait",
  77 + "scale" : "3x"
  78 + },
  79 + {
  80 + "orientation" : "landscape",
  81 + "idiom" : "iphone",
  82 + "extent" : "full-screen",
  83 + "minimum-system-version" : "8.0",
  84 + "subtype" : "736h",
  85 + "scale" : "3x"
  86 + },
  87 + {
  88 + "extent" : "full-screen",
  89 + "idiom" : "iphone",
  90 + "subtype" : "667h",
  91 + "filename" : "HD4.7.png",
  92 + "minimum-system-version" : "8.0",
  93 + "orientation" : "portrait",
  94 + "scale" : "2x"
  95 + },
  96 + {
  97 + "orientation" : "portrait",
  98 + "idiom" : "iphone",
  99 + "filename" : "2x.png",
  100 + "extent" : "full-screen",
  101 + "minimum-system-version" : "7.0",
  102 + "scale" : "2x"
  103 + },
  104 + {
  105 + "extent" : "full-screen",
  106 + "idiom" : "iphone",
  107 + "subtype" : "retina4",
  108 + "filename" : "Retina4.png",
  109 + "minimum-system-version" : "7.0",
  110 + "orientation" : "portrait",
  111 + "scale" : "2x"
  112 + },
  113 + {
  114 + "orientation" : "portrait",
  115 + "idiom" : "ipad",
  116 + "filename" : "768-1024.png",
  117 + "extent" : "full-screen",
  118 + "minimum-system-version" : "7.0",
  119 + "scale" : "1x"
  120 + },
  121 + {
  122 + "orientation" : "landscape",
  123 + "idiom" : "ipad",
  124 + "filename" : "1024-768.png",
  125 + "extent" : "full-screen",
  126 + "minimum-system-version" : "7.0",
  127 + "scale" : "1x"
  128 + },
  129 + {
  130 + "orientation" : "portrait",
  131 + "idiom" : "ipad",
  132 + "filename" : "1536-2048.png",
  133 + "extent" : "full-screen",
  134 + "minimum-system-version" : "7.0",
  135 + "scale" : "2x"
  136 + },
  137 + {
  138 + "orientation" : "landscape",
  139 + "idiom" : "ipad",
  140 + "filename" : "2048-1536.png",
  141 + "extent" : "full-screen",
  142 + "minimum-system-version" : "7.0",
  143 + "scale" : "2x"
  144 + }
  145 + ],
  146 + "info" : {
  147 + "version" : 1,
  148 + "author" : "xcode"
  149 + }
  150 +}
@@ -39,11 +39,15 @@ @@ -39,11 +39,15 @@
39 <array> 39 <array>
40 <string>armv7</string> 40 <string>armv7</string>
41 </array> 41 </array>
  42 + <key>UIRequiresFullScreen</key>
  43 + <true/>
42 <key>UISupportedInterfaceOrientations</key> 44 <key>UISupportedInterfaceOrientations</key>
43 <array> 45 <array>
44 <string>UIInterfaceOrientationPortrait</string> 46 <string>UIInterfaceOrientationPortrait</string>
45 - <string>UIInterfaceOrientationLandscapeLeft</string> 47 + </array>
46 - <string>UIInterfaceOrientationLandscapeRight</string> 48 + <key>UISupportedInterfaceOrientations~ipad</key>
  49 + <array>
  50 + <string>UIInterfaceOrientationPortrait</string>
47 </array> 51 </array>
48 <key>UIViewControllerBasedStatusBarAppearance</key> 52 <key>UIViewControllerBasedStatusBarAppearance</key>
49 <false/> 53 <false/>
@@ -40,21 +40,15 @@ export default class CommonImageView extends Component { @@ -40,21 +40,15 @@ export default class CommonImageView extends Component {
40 40
41 const styles = StyleSheet.create({ 41 const styles = StyleSheet.create({
42 container: { 42 container: {
43 - // paddingTop: 64,  
44 justifyContent: "flex-start", 43 justifyContent: "flex-start",
45 - // alignItems: "stretch",  
46 backgroundColor: "#EFEFEF", 44 backgroundColor: "#EFEFEF",
47 - // paddingLeft: 10,  
48 - // paddingRight: 10  
49 }, 45 },
50 imgOne: { 46 imgOne: {
51 width: Dimensions.get("window").width, 47 width: Dimensions.get("window").width,
52 - // height: Dimensions.get("window").width * 640 / 3118,  
53 height: Dimensions.get("window").width * 3118 / 640, 48 height: Dimensions.get("window").width * 3118 / 640,
54 }, 49 },
55 imgTwo: { 50 imgTwo: {
56 width: Dimensions.get("window").width, 51 width: Dimensions.get("window").width,
57 - // height: Dimensions.get("window").width * 690 / 1651,  
58 height: Dimensions.get("window").width * 1651 / 690, 52 height: Dimensions.get("window").width * 1651 / 690,
59 } 53 }
60 }); 54 });