summaryrefslogtreecommitdiff
path: root/platform/ios/MuPDF
diff options
context:
space:
mode:
authorJoseph Heenan <joseph@emobix.co.uk>2014-10-02 22:44:48 +0200
committerJoseph Heenan <joseph@emobix.co.uk>2014-10-05 09:38:12 -0500
commit98f265445da62b0b9965ab9313df6ac5ae7f5e16 (patch)
tree1036ad8f6ac74450d809765cc51e15c917fc31ce /platform/ios/MuPDF
parenteb8184a334e3f9784e5b5dd108fefbcf2f57595a (diff)
downloadmupdf-98f265445da62b0b9965ab9313df6ac5ae7f5e16.tar.xz
iOS: Run at native res on iphone6/6+
All that is necessary is to add a launch xib.
Diffstat (limited to 'platform/ios/MuPDF')
-rw-r--r--platform/ios/MuPDF/Images.xcassets/AppIcon.appiconset/Contents.json69
-rw-r--r--platform/ios/MuPDF/Launch Screen.xib19
2 files changed, 56 insertions, 32 deletions
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>