Skip to content

Commit 3b441ac

Browse files
committed
Edited QuickLayout.Touch:
Edited info.plist: upgraded MinimumOSVersion from 7.0 to 8.0 Added LaunchScreen storyboard to allow app run full screen on iPhone X.
1 parent 0eac577 commit 3b441ac

File tree

8 files changed

+91
-6
lines changed

8 files changed

+91
-6
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"images":[],"info":{"version":1,"author":"xcode"}}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"images": [
3+
{
4+
"orientation": "portrait",
5+
"idiom": "iphone",
6+
"extent": "full-screen",
7+
"filename": "Default.png",
8+
"size": "320x480",
9+
"scale": "1x"
10+
},
11+
{
12+
"orientation": "portrait",
13+
"idiom": "iphone",
14+
"extent": "full-screen",
15+
"filename": "[email protected]",
16+
"size": "320x480",
17+
"scale": "2x"
18+
},
19+
{
20+
"orientation": "portrait",
21+
"idiom": "iphone",
22+
"extent": "full-screen",
23+
"filename": "[email protected]",
24+
"size": "320x568",
25+
"subtype": "retina4",
26+
"scale": "2x"
27+
}
28+
],
29+
"info": {
30+
"version": 1,
31+
"author": "xcode"
32+
}
33+
}

QuickLayout.Touch/Info.plist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<string>UIInterfaceOrientationLandscapeRight</string>
1414
</array>
1515
<key>MinimumOSVersion</key>
16-
<string>7.0</string>
16+
<string>8.0</string>
1717
<key>CFBundleDisplayName</key>
1818
<string>QuickLayout</string>
1919
<key>CFBundleIdentifier</key>
@@ -24,5 +24,7 @@
2424
<string></string>
2525
<key>CFBundleName</key>
2626
<string>QuickLayout</string>
27+
<key>UILaunchStoryboardName</key>
28+
<string>LaunchScreen</string>
2729
</dict>
2830
</plist>

QuickLayout.Touch/QuickLayout.Touch.csproj

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,6 @@
106106
<Compile Include="Bootstrap\MethodBindingPluginBootstrap.cs" />
107107
<Compile Include="Views\RightToLeftView.cs" />
108108
</ItemGroup>
109-
<ItemGroup>
110-
<BundleResource Include="Resources\Default.png" />
111-
<BundleResource Include="Resources\Default%402x.png" />
112-
<BundleResource Include="Resources\Default-568h%402x.png" />
113-
</ItemGroup>
114109
<ItemGroup>
115110
<Reference Include="System" />
116111
<Reference Include="System.Xml" />
@@ -159,5 +154,15 @@
159154
<Name>QuickLayout.Core</Name>
160155
</ProjectReference>
161156
</ItemGroup>
157+
<ItemGroup>
158+
<InterfaceDefinition Include="Resources\LaunchScreen.storyboard" />
159+
</ItemGroup>
160+
<ItemGroup>
161+
<ImageAsset Include="Assets.xcassets\LaunchImage.launchimage\Contents.json" />
162+
<ImageAsset Include="Assets.xcassets\LaunchImage.launchimage\Default.png" />
163+
<ImageAsset Include="Assets.xcassets\LaunchImage.launchimage\Default%402x.png" />
164+
<ImageAsset Include="Assets.xcassets\LaunchImage.launchimage\Default-568h%402x.png" />
165+
<ImageAsset Include="Assets.xcassets\AppIcon.appiconset\Contents.json" />
166+
</ItemGroup>
162167
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
163168
</Project>
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
3+
<device id="retina5_9" orientation="portrait">
4+
<adaptation id="fullscreen"/>
5+
</device>
6+
<dependencies>
7+
<deployment identifier="iOS"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
9+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
10+
</dependencies>
11+
<scenes>
12+
<!--View Controller-->
13+
<scene sceneID="EHf-IW-A2E">
14+
<objects>
15+
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
16+
<layoutGuides>
17+
<viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
18+
<viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
19+
</layoutGuides>
20+
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
21+
<rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
22+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
23+
<subviews>
24+
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Default.png" translatesAutoresizingMaskIntoConstraints="NO" id="BnF-VO-cQR">
25+
<rect key="frame" x="0.0" y="0.0" width="375" height="812"/>
26+
</imageView>
27+
</subviews>
28+
<constraints>
29+
<constraint firstAttribute="trailing" secondItem="BnF-VO-cQR" secondAttribute="trailing" id="CGl-W1-199"/>
30+
<constraint firstAttribute="bottom" secondItem="BnF-VO-cQR" secondAttribute="bottom" id="Eac-lb-dLi"/>
31+
<constraint firstItem="BnF-VO-cQR" firstAttribute="leading" secondItem="Ze5-6b-2t3" secondAttribute="leading" id="Her-nx-d4v"/>
32+
<constraint firstItem="BnF-VO-cQR" firstAttribute="top" secondItem="Ze5-6b-2t3" secondAttribute="top" id="drm-BO-Nrx"/>
33+
</constraints>
34+
</view>
35+
</viewController>
36+
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
37+
</objects>
38+
<point key="canvasLocation" x="53" y="375"/>
39+
</scene>
40+
</scenes>
41+
<resources>
42+
<image name="Default.png" width="320" height="568"/>
43+
</resources>
44+
</document>

0 commit comments

Comments
 (0)