page-curl

Is this code, for horizontal page curl in iPhone, valid?

为君一笑 提交于 2019-12-14 02:35:37
问题 I was Googling for applying horizontal page curl in iPhone. I also tried this, but it wasn't appropriate for me (To change orientation and work in different ori.). I tried to search the web more. Finally I got this link. From where, I could understand the horizontal page curl. But when I went to code deeply, I found some confusing points: extern NSString *kCAFilterPageCurl; // From QuartzCore.framework is it valid to use internal variable ? ( as it's mentioned - from QuartzCore ) CAFilter

I want the partial pagecurl effect ,not the full screen

有些话、适合烂在心里 提交于 2019-12-13 08:56:28
问题 Now I am developing an app on iOS, I need the pagecurl effect, but the all source code I found was full screen! However, I only need the partial screen, not full screen. So I need to know how to do it! Could anybody provide an example for me? 回答1: There's a good reference on the different forms of Modal Views contained in iOS, including the partial page curl, here: on Tim Neill's blog. 来源: https://stackoverflow.com/questions/9361281/i-want-the-partial-pagecurl-effect-not-the-full-screen

how to know when the next/previous page has completely loaded in the page curl effect by harism?

耗尽温柔 提交于 2019-12-12 11:35:11
问题 I have implemented Page Curl Effect by harism in my application. Now I need to do some text animation on top of the pages. I am able to put the text over the pages and also able to animate. However, I need to know when the curl effect has completed and next/previous page has completely loaded, as I need to make the TextView invisible and stop the animation when the page curl effect is in process. I have been struggling to find when the page is completely loaded/page curl animation has

Android page curl by harism , curling the page from left to right

感情迁移 提交于 2019-12-12 09:27:44
问题 I need to edit harism's project about page curl to make pages turns from left to right instead of right to left. From where should I start? 回答1: Your requirement is same with me, I have modify Curl Page from harism to fit it. thanks to harism and I hope harism can make official patch. Curl Page From Left to Right while view mode set to SHOW_ONE_PAGE: 回答2: Can't you set the current index to the last position and swipe back to first? mPageProvider= new PageProvider(); mCurlView = (CurlView)

Page-curl animation by harism not working properly when a page turns backwards

只愿长相守 提交于 2019-12-11 04:13:35
问题 I am developing an epub reader and I use page-curl by harism to get the page-curl animation. It works well for left to right side(When user reads forward) and loads the correct pages accordingly. But if I turn a page backwards, it's loading the previous page which is ok. Then if I further moves back then it loads a wrong page. For example : I go through pages until 5, then go back it loads page 4. If I go to another page back it should load page 3. Instead it loads page 6. I know this

How to do Animation like BooK front cover in iOS?

穿精又带淫゛_ 提交于 2019-12-10 00:48:14
问题 I want the Page flip animation for Photo Album Book cover even though I have added animation for pages (Used UIpageViewController) but need to have main page animation as well. Please see this link, exactly like this I want. 回答1: Check this : http://code4app.net/ios/Flip-Transform-View/4f75aa156803faa60f000000 Go through the video given for the code reference. I guess this is what you are looking for. 回答2: Use this code , after long hours work I solved this task , feeling happy :) Updated:

How do I influence the size of a modal view presented with a partial page curl?

旧巷老猫 提交于 2019-12-09 19:30:34
问题 I need to have some additional data presented for a view in an application, and I'd like to implement it using a partial page curl in the same way that the Google Maps application uses a partial page curl for its settings. The problem I've got is that the presented view takes up the entire screen: How can I resize the view that's presented? Ideally, I'd like it to occupy the bottom right-hand corner the same way the Google Maps application does. 回答1: I've tested this a good bit, and it

Does Core Animation provide public APIs for iBook style page curl page transitions?

独自空忆成欢 提交于 2019-12-08 00:51:28
问题 Does Core Animation provide public APIs for iBook style page curl page transitions? I have seen this blog post which is an almost exact re-engineering of iBook page-curl transitions but it relies on private APIs. Is there in fact a public version and if not is there something in open source? 回答1: Check the answer for Flipboard or iBooks style animation the code is available @ GitHub. 回答2: If you want to roll your own solution with OpenGL ES, I've written an introduction to simulating a page

how to get page to curl like in Apple Maps on iOS 6?

陌路散爱 提交于 2019-12-07 16:55:48
问题 How would I get my page to curl up as it does in the new apple maps? I know how to make it curl up to see another page but I'm talking about the curl in the bottom right corner of the map. Here is a pic if you want to see what I'm talking about: 回答1: To display this curly corner, simply use a PNG image (which contains the curly white part with its gradient and shadow + the gray background part of the supposed below view, the rest of the PNG being transparent -- similar to this one found via

Partial pagecurl animation with swift

烈酒焚心 提交于 2019-12-07 14:13:48
问题 I'm looking for a way to indicate a pagecurl animation on an uiview to give the user a hint that he can scroll through some pages. It should be some kind of partial pagecurl. The problem is that I don't know how to do that. I found some tutorials but only for objective c and I don't know how transfer it into swift: [UIView animateWithDuration:1.0 animations:^{ CATransition * animation = [CATransition animation]; [animation setDuration:1.2f]; animation.startProgress = 0.0; animation