diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-04-15 21:10:17 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-04-15 21:10:17 +0200 |
commit | ad77bea08c581aa16d0cb2e63985aae2db5fe2af (patch) | |
tree | 6603d0059caf601fd4e16fcd0bde1a430fe9b110 /platform/ios | |
parent | a63d5e899bb97ad9575aee1be15a3a0c8d30a242 (diff) | |
download | mupdf-ad77bea08c581aa16d0cb2e63985aae2db5fe2af.tar.xz |
ios: add epub to the list of handled file formats
Diffstat (limited to 'platform/ios')
-rw-r--r-- | platform/ios/Classes/MuLibraryController.m | 2 | ||||
-rw-r--r-- | platform/ios/Info.plist | 29 |
2 files changed, 30 insertions, 1 deletions
diff --git a/platform/ios/Classes/MuLibraryController.m b/platform/ios/Classes/MuLibraryController.m index c57fc206..728502c7 100644 --- a/platform/ios/Classes/MuLibraryController.m +++ b/platform/ios/Classes/MuLibraryController.m @@ -26,7 +26,7 @@ static void showAlert(NSString *msg, NSString *filename) - (void) viewWillAppear: (BOOL)animated { [super viewWillAppear:animated]; - [self setTitle: @"PDF, XPS and CBZ Documents"]; + [self setTitle: @"PDF, XPS, CBZ and EPUB Documents"]; [self reload]; printf("library viewWillAppear (starting reload timer)\n"); timer = [NSTimer timerWithTimeInterval: 3 diff --git a/platform/ios/Info.plist b/platform/ios/Info.plist index dfef190c..f5030d5b 100644 --- a/platform/ios/Info.plist +++ b/platform/ios/Info.plist @@ -52,6 +52,18 @@ <string>com.microsoft.oxps</string> </array> </dict> + <dict> + <key>CFBundleTypeIconFiles</key> + <array/> + <key>CFBundleTypeName</key> + <string>EPUB</string> + <key>LSHandlerRank</key> + <string>Alternate</string> + <key>LSItemContentTypes</key> + <array> + <string>org.idpf.epub-container</string> + </array> + </dict> </array> <key>CFBundleExecutable</key> <string>${EXECUTABLE_NAME}</string> @@ -169,6 +181,23 @@ <string>application/oxps</string> </dict> </dict> + <dict> + <key>UTTypeConformsTo</key> + <array> + <string>public.data</string> + </array> + <key>UTTypeIdentifier</key> + <string>org.idpf.epub-container</string> + <key>UTTypeTagSpecification</key> + <dict> + <key>public.filename-extension</key> + <array> + <string>epub</string> + </array> + <key>public.mime-type</key> + <string>application/epub+zip</string> + </dict> + </dict> </array> </dict> </plist> |