Is it possible to embed an eBook created with iBooks Author inside an app?

冷暖自知 提交于 2019-12-05 09:22:28

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.

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];
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!