From 98f265445da62b0b9965ab9313df6ac5ae7f5e16 Mon Sep 17 00:00:00 2001
From: Joseph Heenan <joseph@emobix.co.uk>
Date: Thu, 2 Oct 2014 22:44:48 +0200
Subject: iOS: Run at native res on iphone6/6+

All that is necessary is to add a launch xib.
---
 .../AppIcon.appiconset/Contents.json               | 69 ++++++++++++----------
 platform/ios/MuPDF/Launch Screen.xib               | 19 ++++++
 2 files changed, 56 insertions(+), 32 deletions(-)
 create mode 100644 platform/ios/MuPDF/Launch Screen.xib

(limited to 'platform/ios/MuPDF')

diff --git a/platform/ios/MuPDF/Images.xcassets/AppIcon.appiconset/Contents.json b/platform/ios/MuPDF/Images.xcassets/AppIcon.appiconset/Contents.json
index 36d04bd3..622ab4b2 100644
--- a/platform/ios/MuPDF/Images.xcassets/AppIcon.appiconset/Contents.json
+++ b/platform/ios/MuPDF/Images.xcassets/AppIcon.appiconset/Contents.json
@@ -2,8 +2,18 @@
   "images" : [
     {
       "idiom" : "iphone",
-      "scale" : "1x",
-      "size" : "29x29"
+      "size" : "29x29",
+      "scale" : "1x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "29x29",
+      "scale" : "2x"
+    },
+    {
+      "idiom" : "iphone",
+      "size" : "40x40",
+      "scale" : "2x"
     },
     {
       "size" : "57x57",
@@ -24,68 +34,63 @@
       "scale" : "2x"
     },
     {
-      "size" : "72x72",
+      "idiom" : "iphone",
+      "size" : "60x60",
+      "scale" : "3x"
+    },
+    {
       "idiom" : "ipad",
-      "filename" : "Icon-72.png",
+      "size" : "29x29",
       "scale" : "1x"
     },
     {
-      "size" : "72x72",
       "idiom" : "ipad",
-      "filename" : "Icon-72@2x.png",
+      "size" : "29x29",
       "scale" : "2x"
     },
     {
-      "size" : "76x76",
       "idiom" : "ipad",
-      "filename" : "Icon-76.png",
+      "size" : "40x40",
       "scale" : "1x"
     },
     {
-      "size" : "76x76",
       "idiom" : "ipad",
-      "filename" : "Icon-76@2x.png",
+      "size" : "40x40",
       "scale" : "2x"
     },
-    {
-      "idiom" : "iphone",
-      "scale" : "2x",
-      "size" : "29x29"
-    },
-    {
-      "idiom" : "iphone",
-      "scale" : "2x",
-      "size" : "40x40"
-    },
     {
       "idiom" : "ipad",
-      "scale" : "1x",
-      "size" : "50x50"
+      "size" : "50x50",
+      "scale" : "1x"
     },
     {
       "idiom" : "ipad",
-      "scale" : "2x",
-      "size" : "50x50"
+      "size" : "50x50",
+      "scale" : "2x"
     },
     {
+      "size" : "72x72",
       "idiom" : "ipad",
-      "scale" : "1x",
-      "size" : "40x40"
+      "filename" : "Icon-72.png",
+      "scale" : "1x"
     },
     {
+      "size" : "72x72",
       "idiom" : "ipad",
-      "scale" : "2x",
-      "size" : "40x40"
+      "filename" : "Icon-72@2x.png",
+      "scale" : "2x"
     },
     {
+      "size" : "76x76",
       "idiom" : "ipad",
-      "scale" : "1x",
-      "size" : "29x29"
+      "filename" : "Icon-76.png",
+      "scale" : "1x"
     },
     {
+      "size" : "76x76",
       "idiom" : "ipad",
-      "scale" : "2x",
-      "size" : "29x29"
+      "filename" : "Icon-76@2x.png",
+      "scale" : "2x"
     }
   ],
   "info" : {
diff --git a/platform/ios/MuPDF/Launch Screen.xib b/platform/ios/MuPDF/Launch Screen.xib
new file mode 100644
index 00000000..35933029
--- /dev/null
+++ b/platform/ios/MuPDF/Launch Screen.xib	
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="6245" systemVersion="13F34" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES">
+    <dependencies>
+        <deployment defaultVersion="1552" identifier="iOS"/>
+        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6238"/>
+    </dependencies>
+    <objects>
+        <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
+        <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
+        <view contentMode="scaleToFill" id="iN0-l3-epB">
+            <rect key="frame" x="0.0" y="0.0" width="480" height="480"/>
+            <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+            <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
+            <nil key="simulatedStatusBarMetrics"/>
+            <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
+            <point key="canvasLocation" x="404" y="445"/>
+        </view>
+    </objects>
+</document>
-- 
cgit v1.2.3