Browse Source

1.LaunchScreen

wenweiwei 3 years ago
parent
commit
778473ef31

+ 5 - 3
Introduce.xcodeproj/project.pbxproj

@@ -434,7 +434,7 @@
 			buildSettings = {
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
-				ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
+				ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "";
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_IDENTITY = "Apple Development";
 				CODE_SIGN_STYLE = Automatic;
@@ -452,6 +452,7 @@
 				INFOPLIST_KEY_NSPhotoLibraryUsageDescription = " 点击\"允许\",可进入相册选取视频";
 				INFOPLIST_KEY_NSUserTrackingUsageDescription = "请放心,开启权限不会获取你在其他站点的隐私信息,该权限仅用于标识设备并保障服务安全与提升浏览体验";
 				INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
+				INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
 				INFOPLIST_KEY_UIMainStoryboardFile = Main;
 				INFOPLIST_KEY_UIStatusBarHidden = YES;
 				INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;
@@ -479,12 +480,12 @@
 			buildSettings = {
 				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
 				ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
-				ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
+				ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "";
 				CLANG_ENABLE_MODULES = YES;
 				CODE_SIGN_IDENTITY = "Apple Development";
 				CODE_SIGN_STYLE = Automatic;
 				CURRENT_PROJECT_VERSION = 1;
-				DEVELOPMENT_TEAM = "";
+				DEVELOPMENT_TEAM = UH52C8A7SN;
 				ENABLE_BITCODE = NO;
 				EXCLUDED_ARCHS = "";
 				GENERATE_INFOPLIST_FILE = YES;
@@ -497,6 +498,7 @@
 				INFOPLIST_KEY_NSPhotoLibraryUsageDescription = " 点击\"允许\",可进入相册选取视频";
 				INFOPLIST_KEY_NSUserTrackingUsageDescription = "请放心,开启权限不会获取你在其他站点的隐私信息,该权限仅用于标识设备并保障服务安全与提升浏览体验";
 				INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
+				INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
 				INFOPLIST_KEY_UIMainStoryboardFile = Main;
 				INFOPLIST_KEY_UIStatusBarHidden = YES;
 				INFOPLIST_KEY_UISupportedInterfaceOrientations = UIInterfaceOrientationPortrait;

BIN
Introduce/Assets.xcassets/AppIcon.appiconset/40x40 iOS 7-16.png


+ 1 - 0
Introduce/Assets.xcassets/AppIcon.appiconset/Contents.json

@@ -73,6 +73,7 @@
       "size" : "29x29"
     },
     {
+      "filename" : "40x40 iOS 7-16.png",
       "idiom" : "ipad",
       "scale" : "1x",
       "size" : "40x40"

+ 6 - 0
Introduce/Assets.xcassets/Icon/Contents.json

@@ -0,0 +1,6 @@
+{
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 21 - 0
Introduce/Assets.xcassets/Icon/LaunchScreen_image.imageset/Contents.json

@@ -0,0 +1,21 @@
+{
+  "images" : [
+    {
+      "filename" : "LaunchScreen_image.png",
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 0 - 0
Introduce/Assets.xcassets/LaunchImage.launchimage/iOS-7.png → Introduce/Assets.xcassets/Icon/LaunchScreen_image.imageset/LaunchScreen_image.png


+ 21 - 0
Introduce/Assets.xcassets/Icon/icon.imageset/Contents.json

@@ -0,0 +1,21 @@
+{
+  "images" : [
+    {
+      "filename" : "icon.png",
+      "idiom" : "universal",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "universal",
+      "scale" : "3x"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
Introduce/Assets.xcassets/Icon/icon.imageset/icon.png


+ 0 - 53
Introduce/Assets.xcassets/LaunchImage.launchimage/Contents.json

@@ -1,53 +0,0 @@
-{
-  "images" : [
-    {
-      "extent" : "full-screen",
-      "filename" : "iOS-9.png",
-      "idiom" : "iphone",
-      "minimum-system-version" : "12.0",
-      "orientation" : "portrait",
-      "scale" : "3x",
-      "subtype" : "2688h"
-    },
-    {
-      "extent" : "full-screen",
-      "filename" : "iOS-5.png",
-      "idiom" : "iphone",
-      "minimum-system-version" : "12.0",
-      "orientation" : "portrait",
-      "scale" : "2x",
-      "subtype" : "1792h"
-    },
-    {
-      "extent" : "full-screen",
-      "filename" : "iOS-8.png",
-      "idiom" : "iphone",
-      "minimum-system-version" : "11.0",
-      "orientation" : "portrait",
-      "scale" : "3x",
-      "subtype" : "2436h"
-    },
-    {
-      "extent" : "full-screen",
-      "filename" : "iOS-7.png",
-      "idiom" : "iphone",
-      "minimum-system-version" : "8.0",
-      "orientation" : "portrait",
-      "scale" : "3x",
-      "subtype" : "736h"
-    },
-    {
-      "extent" : "full-screen",
-      "filename" : "iOS-4.png",
-      "idiom" : "iphone",
-      "minimum-system-version" : "8.0",
-      "orientation" : "portrait",
-      "scale" : "2x",
-      "subtype" : "667h"
-    }
-  ],
-  "info" : {
-    "author" : "xcode",
-    "version" : 1
-  }
-}

BIN
Introduce/Assets.xcassets/LaunchImage.launchimage/iOS-4.png


BIN
Introduce/Assets.xcassets/LaunchImage.launchimage/iOS-5.png


BIN
Introduce/Assets.xcassets/LaunchImage.launchimage/iOS-8.png


BIN
Introduce/Assets.xcassets/LaunchImage.launchimage/iOS-9.png


+ 12 - 6
Introduce/Base.lproj/LaunchScreen.storyboard

@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19455" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
     <device id="retina6_1" orientation="portrait" appearance="light"/>
     <dependencies>
         <deployment identifier="iOS"/>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19519"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19454"/>
         <capability name="Safe area layout guides" minToolsVersion="9.0"/>
         <capability name="System colors in document resources" minToolsVersion="11.0"/>
         <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
@@ -17,21 +17,27 @@
                         <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <subviews>
-                            <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="4xb-RU-WoQ">
-                                <rect key="frame" x="68" y="243" width="240" height="128"/>
-                                <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+                            <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="LaunchScreen_image" highlighted="YES" translatesAutoresizingMaskIntoConstraints="NO" id="4xb-RU-WoQ">
+                                <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
                             </imageView>
                         </subviews>
                         <viewLayoutGuide key="safeArea" id="6Tk-OE-BBY"/>
                         <color key="backgroundColor" systemColor="systemBackgroundColor"/>
+                        <constraints>
+                            <constraint firstItem="4xb-RU-WoQ" firstAttribute="leading" secondItem="6Tk-OE-BBY" secondAttribute="leading" id="CEZ-tY-jqO"/>
+                            <constraint firstItem="4xb-RU-WoQ" firstAttribute="top" secondItem="Ze5-6b-2t3" secondAttribute="top" id="Sin-Cg-wZe"/>
+                            <constraint firstItem="4xb-RU-WoQ" firstAttribute="trailing" secondItem="6Tk-OE-BBY" secondAttribute="trailing" id="XlA-xt-A52"/>
+                            <constraint firstAttribute="bottom" secondItem="4xb-RU-WoQ" secondAttribute="bottom" id="xA9-ut-7Pc"/>
+                        </constraints>
                     </view>
                 </viewController>
                 <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
             </objects>
-            <point key="canvasLocation" x="30" y="350"/>
+            <point key="canvasLocation" x="28.985507246376812" y="349.55357142857139"/>
         </scene>
     </scenes>
     <resources>
+        <image name="LaunchScreen_image" width="1242" height="2208"/>
         <systemColor name="systemBackgroundColor">
             <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
         </systemColor>

+ 2 - 0
Introduce/Info.plist

@@ -6,6 +6,8 @@
 	<array>
 		<string>_adhp._tcp</string>
 	</array>
+	<key>UILaunchScreen</key>
+	<false/>
 	<key>UIStatusBarStyle</key>
 	<string>UIStatusBarStyleLightContent</string>
 </dict>