diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2017-08-27 22:47:50 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2017-08-27 22:47:50 +0300 |
commit | 926292021ae0941ecd1e7a62aa6aeb2781fddc20 (patch) | |
tree | 4064ee15163e0ecb5bc5586b5349273804cb8d43 /Source | |
parent | ef0132e30b59e64ddd3221bb5532f081e52ba363 (diff) |
Add .xib-based launch screen
Diffstat (limited to 'Source')
-rw-r--r-- | Source/Classes/LaunchScreen.storyboard | 75 | ||||
-rw-r--r-- | Source/Info.plist | 2 |
2 files changed, 77 insertions, 0 deletions
diff --git a/Source/Classes/LaunchScreen.storyboard b/Source/Classes/LaunchScreen.storyboard new file mode 100644 index 0000000..560b85e --- /dev/null +++ b/Source/Classes/LaunchScreen.storyboard @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="UTF-8"?> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11542" systemVersion="16D32" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="ZhA-oE-R7j"> + <device id="retina4_7" orientation="portrait"> + <adaptation id="fullscreen"/> + </device> + <dependencies> + <deployment identifier="iOS"/> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11524"/> + <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> + </dependencies> + <scenes> + <!--Root View Controller--> + <scene sceneID="87X-Tz-1bt"> + <objects> + <navigationController title="Root View Controller" id="ZhA-oE-R7j" sceneMemberID="viewController"> + <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" translucent="NO" prompted="NO"/> + <navigationBar key="navigationBar" contentMode="scaleToFill" misplaced="YES" barStyle="black" translucent="NO" id="Q0J-3S-9rV"> + <rect key="frame" x="0.0" y="0.0" width="375" height="44"/> + <autoresizingMask key="autoresizingMask"/> + <color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/> + </navigationBar> + <toolbar key="toolbar" opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="LfF-u6-Sck"> + <rect key="frame" x="0.0" y="623" width="375" height="44"/> + <autoresizingMask key="autoresizingMask"/> + </toolbar> + <connections> + <segue destination="01J-lp-oVM" kind="relationship" relationship="rootViewController" id="k6H-4y-oDs"/> + </connections> + </navigationController> + <placeholder placeholderIdentifier="IBFirstResponder" id="HOq-ti-gqm" userLabel="First Responder" sceneMemberID="firstResponder"/> + </objects> + <point key="canvasLocation" x="-1562" y="419"/> + </scene> + <!--Mumble--> + <scene sceneID="EHf-IW-A2E"> + <objects> + <viewController title="Mumble" id="01J-lp-oVM" sceneMemberID="viewController"> + <layoutGuides> + <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/> + <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/> + </layoutGuides> + <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3"> + <rect key="frame" x="0.0" y="64" width="375" height="603"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <subviews> + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumFontSize="9" translatesAutoresizingMaskIntoConstraints="NO" id="obG-Y5-kRd"> + <rect key="frame" x="20" y="583" width="335" height="0.0"/> + <fontDescription key="fontDescription" type="system" pointSize="17"/> + <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> + <nil key="highlightedColor"/> + </label> + <imageView userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="WelcomeScreenIcon" translatesAutoresizingMaskIntoConstraints="NO" id="hok-U1-muZ"> + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + </imageView> + </subviews> + <color key="backgroundColor" red="0.10980392156862745" green="0.10980392156862745" blue="0.10980392156862745" alpha="1" colorSpace="calibratedRGB"/> + <constraints> + <constraint firstAttribute="centerX" secondItem="obG-Y5-kRd" secondAttribute="centerX" id="5cz-MP-9tL"/> + <constraint firstItem="obG-Y5-kRd" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" constant="20" symbolic="YES" id="SfN-ll-jLj"/> + <constraint firstAttribute="bottom" secondItem="obG-Y5-kRd" secondAttribute="bottom" constant="20" id="Y44-ml-fuU"/> + </constraints> + </view> + <navigationItem key="navigationItem" title="Mumble" id="vdx-n0-PWB"/> + <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" translucent="NO" prompted="NO"/> + </viewController> + <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/> + </objects> + <point key="canvasLocation" x="-727" y="419"/> + </scene> + </scenes> + <resources> + <image name="WelcomeScreenIcon" width="16" height="16"/> + </resources> +</document> diff --git a/Source/Info.plist b/Source/Info.plist index b6cf9d2..38d971e 100644 --- a/Source/Info.plist +++ b/Source/Info.plist @@ -96,6 +96,8 @@ <string>{320, 568}</string> </dict> </array> + <key>UILaunchStoryboardName</key> + <string>LaunchScreen</string> <key>UIPrerenderedIcon</key> <true/> <key>UIStatusBarStyle</key> |