问题
I would like to embed an e-book created with iBooks Author inside an app. Does anybody know if it's possible?
If not, is it possible to add a "link" in my app that opens the e-book?
回答1:
You can export from iBooks author as PDF and then create a wrapper app that will display that PDF inside an app, but the experience will be suboptimal.
回答2:
There is a computer tool called EPUB to pdf to convert the files into PDF. Once that is done im sure you can go on XCODE.
The easiest way to load and display a local pdf file is to use a UIWebview like that:
NSString *path = [[NSBundle mainBundle] pathForResource:@"document" ofType:@"pdf"];
NSURL *targetURL = [NSURL fileURLWithPath:path];
NSURLRequest *request = [NSURLRequest requestWithURL:targetURL];
[webView loadRequest:request];
来源:https://stackoverflow.com/questions/9309670/is-it-possible-to-embed-an-ebook-created-with-ibooks-author-inside-an-app