added splash screen

This commit is contained in:
Michele Balistreri 2024-10-24 17:01:36 +09:00
parent ec01d39f27
commit f8db0c8f66
No known key found for this signature in database
GPG Key ID: E9567DA33A4F791A
5 changed files with 50 additions and 34 deletions

View File

@ -15,6 +15,10 @@
58940AC09FE604344D51726A /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = F1DBBD5DD87F91495BD823DB /* PrivacyInfo.xcprivacy */; };
7699B88040F8A987B510C191 /* libPods-keycardExit-keycardExitTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-keycardExit-keycardExitTests.a */; };
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
C0B871CC2CCA30A80034F771 /* gradient.png in Resources */ = {isa = PBXBuildFile; fileRef = C0B871CB2CCA30A80034F771 /* gradient.png */; };
C0B871D02CCA31F60034F771 /* operators.png in Resources */ = {isa = PBXBuildFile; fileRef = C0B871CF2CCA31F60034F771 /* operators.png */; };
C0B871D22CCA34760034F771 /* splash-icons.png in Resources */ = {isa = PBXBuildFile; fileRef = C0B871D12CCA34760034F771 /* splash-icons.png */; };
C0B871D42CCA354F0034F771 /* powered-by.png in Resources */ = {isa = PBXBuildFile; fileRef = C0B871D32CCA354F0034F771 /* powered-by.png */; };
E492A042D06744D08F8EC919 /* Inter.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4172BED27DB8401BAF5AC8F6 /* Inter.ttf */; };
/* End PBXBuildFile section */
@ -41,13 +45,17 @@
13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = keycardExit/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
19F6CBCC0A4E27FBF8BF4A61 /* libPods-keycardExit-keycardExitTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-keycardExit-keycardExitTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
3B4392A12AC88292D35C810B /* Pods-keycardExit.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-keycardExit.debug.xcconfig"; path = "Target Support Files/Pods-keycardExit/Pods-keycardExit.debug.xcconfig"; sourceTree = "<group>"; };
4172BED27DB8401BAF5AC8F6 /* Inter.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = Inter.ttf; path = ../src/assets/fonts/Inter.ttf; sourceTree = "<group>"; };
4172BED27DB8401BAF5AC8F6 /* Inter.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Inter.ttf; path = ../src/assets/fonts/Inter.ttf; sourceTree = "<group>"; };
5709B34CF0A7D63546082F79 /* Pods-keycardExit.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-keycardExit.release.xcconfig"; path = "Target Support Files/Pods-keycardExit/Pods-keycardExit.release.xcconfig"; sourceTree = "<group>"; };
5B7EB9410499542E8C5724F5 /* Pods-keycardExit-keycardExitTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-keycardExit-keycardExitTests.debug.xcconfig"; path = "Target Support Files/Pods-keycardExit-keycardExitTests/Pods-keycardExit-keycardExitTests.debug.xcconfig"; sourceTree = "<group>"; };
5DCACB8F33CDC322A6C60F78 /* libPods-keycardExit.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-keycardExit.a"; sourceTree = BUILT_PRODUCTS_DIR; };
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = keycardExit/LaunchScreen.storyboard; sourceTree = "<group>"; };
89C6BE57DB24E9ADA2F236DE /* Pods-keycardExit-keycardExitTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-keycardExit-keycardExitTests.release.xcconfig"; path = "Target Support Files/Pods-keycardExit-keycardExitTests/Pods-keycardExit-keycardExitTests.release.xcconfig"; sourceTree = "<group>"; };
C0762F512C9C169400E82882 /* keycardExit.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = keycardExit.entitlements; path = keycardExit/keycardExit.entitlements; sourceTree = "<group>"; };
C0B871CB2CCA30A80034F771 /* gradient.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = gradient.png; path = ../src/images/gradient.png; sourceTree = SOURCE_ROOT; };
C0B871CF2CCA31F60034F771 /* operators.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = operators.png; path = ../src/images/operators.png; sourceTree = SOURCE_ROOT; };
C0B871D12CCA34760034F771 /* splash-icons.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "splash-icons.png"; path = "../src/images/splash-icons.png"; sourceTree = SOURCE_ROOT; };
C0B871D32CCA354F0034F771 /* powered-by.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "powered-by.png"; path = "../src/images/powered-by.png"; sourceTree = SOURCE_ROOT; };
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
F1DBBD5DD87F91495BD823DB /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = keycardExit/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
/* End PBXFileReference section */
@ -151,6 +159,10 @@
isa = PBXGroup;
children = (
4172BED27DB8401BAF5AC8F6 /* Inter.ttf */,
C0B871CB2CCA30A80034F771 /* gradient.png */,
C0B871CF2CCA31F60034F771 /* operators.png */,
C0B871D12CCA34760034F771 /* splash-icons.png */,
C0B871D32CCA354F0034F771 /* powered-by.png */,
);
name = Resources;
sourceTree = "<group>";
@ -261,8 +273,12 @@
files = (
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
C0B871D22CCA34760034F771 /* splash-icons.png in Resources */,
58940AC09FE604344D51726A /* PrivacyInfo.xcprivacy in Resources */,
C0B871CC2CCA30A80034F771 /* gradient.png in Resources */,
E492A042D06744D08F8EC919 /* Inter.ttf in Resources */,
C0B871D02CCA31F60034F771 /* operators.png in Resources */,
C0B871D42CCA354F0034F771 /* powered-by.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -614,10 +630,7 @@
"-DFOLLY_CFG_NO_COROUTINES=1",
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
);
OTHER_LDFLAGS = (
"$(inherited)",
" ",
);
OTHER_LDFLAGS = "$(inherited) ";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) DEBUG";
@ -690,10 +703,7 @@
"-DFOLLY_CFG_NO_COROUTINES=1",
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
);
OTHER_LDFLAGS = (
"$(inherited)",
" ",
);
OTHER_LDFLAGS = "$(inherited) ";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
USE_HERMES = true;

View File

@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="15702" 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="23094" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina4_7" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15704"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23084"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
@ -12,36 +11,43 @@
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<layoutGuides>
<viewControllerLayoutGuide type="top" id="TWC-2K-Fjv"/>
<viewControllerLayoutGuide type="bottom" id="fvs-Xh-STK"/>
</layoutGuides>
<view key="view" contentMode="scaleAspectFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="keycardExit" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="GJd-Yh-RWb">
<rect key="frame" x="0.0" y="202" width="375" height="43"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Powered by React Native" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="MN2-I3-ftu">
<rect key="frame" x="0.0" y="626" width="375" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="highlightedColor"/>
</label>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" insetsLayoutMarginsFromSafeArea="NO" image="gradient.png" translatesAutoresizingMaskIntoConstraints="NO" id="ZNe-yJ-w2f">
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES" heightSizable="YES" flexibleMaxY="YES"/>
</imageView>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="operators.png" translatesAutoresizingMaskIntoConstraints="NO" id="njO-Aw-1Hl">
<rect key="frame" x="0.0" y="282" width="375" height="93"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES"/>
</imageView>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="splash-icons.png" translatesAutoresizingMaskIntoConstraints="NO" id="ali-hK-16j">
<rect key="frame" x="0.0" y="581" width="375" height="39"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES"/>
</imageView>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="powered-by.png" translatesAutoresizingMaskIntoConstraints="NO" id="iw0-on-c0Y">
<rect key="frame" x="0.0" y="536" width="375" height="13"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" widthSizable="YES" flexibleMaxX="YES" flexibleMinY="YES"/>
</imageView>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstItem="Bcu-3y-fUS" firstAttribute="bottom" secondItem="MN2-I3-ftu" secondAttribute="bottom" constant="20" id="OZV-Vh-mqD"/>
<constraint firstItem="Bcu-3y-fUS" firstAttribute="centerX" secondItem="GJd-Yh-RWb" secondAttribute="centerX" id="Q3B-4B-g5h"/>
<constraint firstItem="MN2-I3-ftu" firstAttribute="centerX" secondItem="Bcu-3y-fUS" secondAttribute="centerX" id="akx-eg-2ui"/>
<constraint firstItem="MN2-I3-ftu" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" id="i1E-0Y-4RG"/>
<constraint firstItem="GJd-Yh-RWb" firstAttribute="centerY" secondItem="Ze5-6b-2t3" secondAttribute="bottom" multiplier="1/3" constant="1" id="moa-c2-u7t"/>
<constraint firstItem="GJd-Yh-RWb" firstAttribute="leading" secondItem="Bcu-3y-fUS" secondAttribute="leading" symbolic="YES" id="x7j-FC-K8j"/>
</constraints>
<viewLayoutGuide key="safeArea" id="Bcu-3y-fUS"/>
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="52.173913043478265" y="375"/>
<point key="canvasLocation" x="52" y="374.66266866566718"/>
</scene>
</scenes>
<resources>
<image name="gradient.png" width="1920" height="1920"/>
<image name="operators.png" width="174" height="95.5"/>
<image name="powered-by.png" width="67" height="11.5"/>
<image name="splash-icons.png" width="126" height="32"/>
</resources>
</document>

BIN
src/images/operators.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

BIN
src/images/powered-by.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
src/images/splash-icons.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB