ibooks

File opening animation like in iBooks and Photos.app on iPad

戏子无情 提交于 2019-12-05 07:21:55
问题 When you open a PDF file in iBooks.app, its thumbnail expands to entire screen, then it shows a PDF page. And when you open a photo in Photos.app on iPad, its thumbnail expands to entire screen too. Then you can swipe between pages, zoom it and so on. So, I would like to implement this animation in my application, but I have no idea how to do it. Can you help me? Thank you very much for your answer. 回答1: You can use a simple animation: // Begin animation [UIView beginAnimations:nil context

Open local PDF file in iBooks

大兔子大兔子 提交于 2019-12-04 21:28:38
I am trying to open a PDF file that I have stored locally within my app in iBooks. The app currently has a list of "literature" in a table view and when each cell is tapped the app segues to a webView that displays the PDF file (works great). I have made a BarButton at the top right in navBar to allow the user to open the PDF in iBooks (so they can store it on his/her device). So far the button will open a UIDocumentInteractionController that displays all apps on the device that can open the file (after checking if iBooks is installed). Then when I click the iBooks icon the app crashes. I was

iBooks library like effect

僤鯓⒐⒋嵵緔 提交于 2019-12-04 08:45:55
问题 Can someone tell me how to achieve iBooks Library turning effect.(Not the pages). Could that be achieved via Core Animation perhaps? 回答1: This is what you search. It's very little code and fully done in CoreAnimation. https://github.com/devindoty/iBooks-Flip-Animation 来源: https://stackoverflow.com/questions/3670353/ibooks-library-like-effect

Why are some widget elements not showing up when embedded in iBook?

蹲街弑〆低调 提交于 2019-12-04 08:44:08
I created a widget in Dashcode. It has some buttons, text fields and texts. It works fine when run from Dashcode or when installed into the Dashboard. When I install it into an iBook (via iBooks Author) and run it on the iPad then the buttons and texts all disappear (as well as a few other minor visual changes). Interestingly if I tap where some of buttons are, it invokes the button click event, but others don't work. Also, when a button click event updates the value of a text then that text becomes visible. I tried both GlassButtons and regular Buttons, neither shows up. I inspected the

an app to open iBook and then this particular pdf/pub file straightaway in one go

梦想的初衷 提交于 2019-12-03 23:06:18
Is it possible to open a pdf file from an app itself into iBooks. OR any 3rd party solutions, that can use any pdf file and create a flip book thing in an app itself. Mutix You can indeed open a PDF file from an app into iBooks (or any other installed app that can read PDF files). To do this, you can use the UIDocumentInteractionController NSString *pdfPath = @"path to your pdf file"; NSURL *url = [NSURL fileURLWithPath:pdfPath]; UIDocumentInteractionController *docController = [UIDocumentInteractionController interactionControllerWithURL:url]; docController.delegate = self; [docController

Open Close (Unfolding) Book Animation In iBooks

时间秒杀一切 提交于 2019-12-03 21:58:54
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 Opening and loading animation as in iBooks? ). Again, for clarification: I know HOW to read the PDF, I'm

iBooks library like effect

独自空忆成欢 提交于 2019-12-03 00:50:15
Can someone tell me how to achieve iBooks Library turning effect.(Not the pages). Could that be achieved via Core Animation perhaps? This is what you search. It's very little code and fully done in CoreAnimation. https://github.com/devindoty/iBooks-Flip-Animation 来源: https://stackoverflow.com/questions/3670353/ibooks-library-like-effect

How does iBooks do this?

最后都变了- 提交于 2019-12-03 00:45:40
I am currently displaying text in a uiwebview. However, I would like to allow a user to select text and perform some action with the selected text (google it). Apple has done this sort of thing with iBooks. When you click on a word you can choose to look up the word in a dictionary. How can I do the same thing with Webview? UIMenuController seems to be what I need to look at. But I couldn't find any sample code on how to do this. I'm new to iPhone development please help. Starting in iOS 3.2 you can use UIMenuController to add additional UIMenuItems to the system menu that appears when

How to open a file on iBooks

▼魔方 西西 提交于 2019-12-01 12:48:34
How can I open a book on iBooks? I tried the following code, that works, but asks the user to choose an application to open the file: self.docController = [UIDocumentInteractionController alloc]; //leaves only the file name NSString *bookFile = @"my-book.pdf"; NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirectory = [paths objectAtIndex: 0]; NSString* filePath = [documentsDirectory stringByAppendingPathComponent: bookFile]; // Using the Book path self.docController = [UIDocumentInteractionController

open iBooks from my app

非 Y 不嫁゛ 提交于 2019-12-01 09:22:50
I have some PDF in my app. I want to provide an option to open those PDF in other third party e-readers app that might be installed on the device, like Stanza and iBooks. Dropbox application has successfully implemented this feature and I can't find any information on how to detect what other e-readers are available on the device or what the custom url scheme is for those apps. Any help would be greatly appreciated. thanks in advance guys. Check this out! http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIDocumentInteractionController_class/Reference/Reference.html#/