summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-10-31 22:46:00 +0100
committerTor Andersson <tor.andersson@artifex.com>2011-11-01 23:46:57 +0100
commit929febdb1b54a6bbca166acd26c8c439af72ed09 (patch)
tree63010014034bca9db69ab7c13379a4ffdfe1beb2 /ios
parentd5bdf330a2e9b5596dd7a3f40a6cbd81bd6e0538 (diff)
downloadmupdf-929febdb1b54a6bbca166acd26c8c439af72ed09.tar.xz
Add Icon to iOS viewer.
Diffstat (limited to 'ios')
-rw-r--r--ios/Icon-72.pngbin0 -> 5106 bytes
-rw-r--r--ios/Icon.pngbin0 -> 3599 bytes
-rw-r--r--ios/Info.plist2
-rw-r--r--ios/MuPDF.xcodeproj/project.pbxproj12
-rw-r--r--ios/build_libs.sh1
5 files changed, 13 insertions, 2 deletions
diff --git a/ios/Icon-72.png b/ios/Icon-72.png
new file mode 100644
index 00000000..fb8c12f0
--- /dev/null
+++ b/ios/Icon-72.png
Binary files differ
diff --git a/ios/Icon.png b/ios/Icon.png
new file mode 100644
index 00000000..4bb46ae1
--- /dev/null
+++ b/ios/Icon.png
Binary files differ
diff --git a/ios/Info.plist b/ios/Info.plist
index ddd2e68c..116bacee 100644
--- a/ios/Info.plist
+++ b/ios/Info.plist
@@ -46,5 +46,7 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
+ <key>UIPrerenderedIcon</key>
+ <true/>
</dict>
</plist>
diff --git a/ios/MuPDF.xcodeproj/project.pbxproj b/ios/MuPDF.xcodeproj/project.pbxproj
index 6c8be45e..7bc743bd 100644
--- a/ios/MuPDF.xcodeproj/project.pbxproj
+++ b/ios/MuPDF.xcodeproj/project.pbxproj
@@ -20,6 +20,8 @@
968F2EC014539F350085264E /* libmuxps.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 968F2EB814539F350085264E /* libmuxps.a */; };
968F2EC114539F350085264E /* libopenjpeg.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 968F2EB914539F350085264E /* libopenjpeg.a */; };
968F2EC214539F350085264E /* libz.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 968F2EBA14539F350085264E /* libz.a */; };
+ 96BD2B38145AC485001CEBC3 /* Icon-72.png in Resources */ = {isa = PBXBuildFile; fileRef = 96BD2B35145AC485001CEBC3 /* Icon-72.png */; };
+ 96BD2B39145AC485001CEBC3 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 96BD2B36145AC485001CEBC3 /* Icon.png */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
@@ -39,6 +41,8 @@
968F2EB814539F350085264E /* libmuxps.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libmuxps.a; path = "../Debug-iphoneos/libmuxps.a"; sourceTree = BUILT_PRODUCTS_DIR; };
968F2EB914539F350085264E /* libopenjpeg.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libopenjpeg.a; path = "../Debug-iphoneos/libopenjpeg.a"; sourceTree = BUILT_PRODUCTS_DIR; };
968F2EBA14539F350085264E /* libz.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libz.a; path = "../Debug-iphoneos/libz.a"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 96BD2B35145AC485001CEBC3 /* Icon-72.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Icon-72.png"; sourceTree = "<group>"; };
+ 96BD2B36145AC485001CEBC3 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
@@ -66,9 +70,11 @@
968F2E9214539BF10085264E /* Sources */ = {
isa = PBXGroup;
children = (
- 96476B4514599D9400EA67C0 /* loading.png */,
- 968F2E8E14539BEB0085264E /* build_libs.sh */,
+ 96BD2B36145AC485001CEBC3 /* Icon.png */,
+ 96BD2B35145AC485001CEBC3 /* Icon-72.png */,
968F2E8F14539BEB0085264E /* Info.plist */,
+ 968F2E8E14539BEB0085264E /* build_libs.sh */,
+ 96476B4514599D9400EA67C0 /* loading.png */,
968F2E9014539BEB0085264E /* main.m */,
);
name = Sources;
@@ -169,6 +175,8 @@
buildActionMask = 2147483647;
files = (
96476B4614599D9400EA67C0 /* loading.png in Resources */,
+ 96BD2B38145AC485001CEBC3 /* Icon-72.png in Resources */,
+ 96BD2B39145AC485001CEBC3 /* Icon.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
diff --git a/ios/build_libs.sh b/ios/build_libs.sh
index 8095571f..beea9cde 100644
--- a/ios/build_libs.sh
+++ b/ios/build_libs.sh
@@ -28,5 +28,6 @@ echo Copying files into $BUILT_PRODUCTS_DIR.
mkdir -p "$BUILT_PRODUCTS_DIR"
cp ../$OUT/lib*.a $BUILT_PRODUCTS_DIR
+ranlib $BUILT_PRODUCTS_DIR/lib*.a
echo Done.