From ad77bea08c581aa16d0cb2e63985aae2db5fe2af Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 15 Apr 2015 21:10:17 +0200 Subject: ios: add epub to the list of handled file formats --- platform/ios/Classes/MuLibraryController.m | 2 +- platform/ios/Info.plist | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) (limited to 'platform/ios') 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 @@ com.microsoft.oxps + + CFBundleTypeIconFiles + + CFBundleTypeName + EPUB + LSHandlerRank + Alternate + LSItemContentTypes + + org.idpf.epub-container + + CFBundleExecutable ${EXECUTABLE_NAME} @@ -169,6 +181,23 @@ application/oxps + + UTTypeConformsTo + + public.data + + UTTypeIdentifier + org.idpf.epub-container + UTTypeTagSpecification + + public.filename-extension + + epub + + public.mime-type + application/epub+zip + + -- cgit v1.2.3