ibooks

Open pdf file in iBooks from my site

故事扮演 提交于 2019-12-10 23:12:07
问题 I need put link to pdf files in my site with conditions..:) If is a iPad , i want save this pdf in iBooks library and open iBooks showing this file. Is this possible? Tks! 回答1: No, this is not possible. When the user views the PDF in Safari and has iBooks installed, there will be a button to open it in iBooks (or other apps that can read PDFs). You cannot automate this though. 来源: https://stackoverflow.com/questions/7433327/open-pdf-file-in-ibooks-from-my-site

Is there any way to run javascript in iBooks without user interaction?

半世苍凉 提交于 2019-12-08 07:53:24
问题 We've been testing HTML widgets in iBooks 3 and had some success in connecting online. One of the drawbacks, though, is it requires user interaction to actually expand the widget and run Javascript. Is there a way to run Javascript in the background of the iBook, without requiring user interaction outside of regular paging? For example, if we wanted to have Mixpanel running in the background, how would we do that? Is there another type of widget that allows this to happen? Or is there

Is there any way to run javascript in iBooks without user interaction?

别来无恙 提交于 2019-12-07 18:18:28
We've been testing HTML widgets in iBooks 3 and had some success in connecting online. One of the drawbacks, though, is it requires user interaction to actually expand the widget and run Javascript. Is there a way to run Javascript in the background of the iBook, without requiring user interaction outside of regular paging? For example, if we wanted to have Mixpanel running in the background, how would we do that? Is there another type of widget that allows this to happen? Or is there something else that runs javascript besides the HTML widget? edit: To clarify, I'm using iBooks Author to

How to show Book Opening and loading animation as in iBooks?

雨燕双飞 提交于 2019-12-07 09:55:34
问题 I am trying to show a book opening animation as in iBooks. Any inputs will be helpful. 回答1: I also had same requirement. I used this library. Did some modification according to my need. Its working. Try it. 来源: https://stackoverflow.com/questions/3470219/how-to-show-book-opening-and-loading-animation-as-in-ibooks

UIDocumentInteractionController opening pdf in iBooks crashes

爱⌒轻易说出口 提交于 2019-12-07 07:47:28
I have a test PDF file that I want to open in iBooks through my app. I saved it in my temp directory and I use this code to load it to iBooks: NSURL *targetURL = [NSURL fileURLWithPath:tempFullPath]; NSLog(@"Path is %@", tempFullPath); UIDocumentInteractionController *controller = [UIDocumentInteractionController interactionControllerWithURL:targetURL]; controller.delegate = self; controller.UTI = @"com.adobe.pdf"; [controller presentOpenInMenuFromRect:self.view.bounds inView:self.view animated:YES]; The menu pops up just fine but when I tap the iBooks button the app crashes and hangs my Xcode

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

巧了我就是萌 提交于 2019-12-07 06:17:09
问题 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

epub 3, how to prevent pages from running in background ? (iBooks / Readium)

China☆狼群 提交于 2019-12-06 06:16:08
I have created and validated an ePub 3 which I am currently testing. I am using a fixed layout.. <meta property="rendition:layout">pre-paginated</meta> <meta property="rendition:orientation">portrait</meta> <meta property="rendition:spread">none< /meta> It works nicely, however multiple pages seems to load and run at once when testing in different readers. I'm using jQuery's document ready to kick things off and play audio, run animations, etc. When testing in iBooks I open the book to page 1 which loads and begins to run, but then I start hearing audio from page 2.. so the document ready

FInding out when page is being viewed in EPUB FXL via Javascript

你。 提交于 2019-12-05 18:26:45
Is it possible to find out when a page of an EPUB Fixed Layout is being viewed with Javascript? There is the DOMContentLoaded event, but the adjacent pages also fire this event when they are preloaded in iBooks, causing animations or sounds to start before the page being visible... No, it's not. This is a "feature" of iBooks. It preloads the pages, I suppose to make page turns faster later on. Unfortunately, there is no way to detect that a page is preloading as opposed to being actually viewed. There's only one way to deal with this--force user interaction on each page (tapping something) to

Open Close (Unfolding) Book Animation In iBooks

江枫思渺然 提交于 2019-12-05 10:40:20
问题 My app currently basically wires the AQGridView project to the leaves project to make an iBooks (clone-esque) type PDF reader. My problem is, I currently use the pageCurl transition from one view to the next, which is all well and good, but I want to take it to the next level. Has anyone duplicated the iBooks unfolding/ folding book+cover animation? Every question I see about this is just up voted twice with the most noobish and incoherent answers I've ever seen (example a: How to show Book

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

冷暖自知 提交于 2019-12-05 09:22:28
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? 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:@