Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick page flipping issues #4

Open
ivasic opened this issue Jun 14, 2011 · 11 comments
Open

Quick page flipping issues #4

ivasic opened this issue Jun 14, 2011 · 11 comments

Comments

@ivasic
Copy link

ivasic commented Jun 14, 2011

There's a problem when you try to flip pages real quick, you end up with either no animations or split pages with different content.
I was able to reproduce this on iPad 3G (1st gen) running 4.3.2 and on the simulator 4.3 with XCode 4.0.2. It seems easier to reproduce on the simulator.
Just try to flip pages really quickly with swiping. Somewhere in the middle it'll start to behave incorrectly.

See the result: http://f.cl.ly/items/2Y3c003M2B0l1u3h2Q0t/IMG_0010.PNG

@isaru66
Copy link

isaru66 commented Jun 27, 2011

I am facing the same problem as ivasic.

@isaru66
Copy link

isaru66 commented Jun 29, 2011

I think we would disable the swipe gesture during swiping to prevent the a weird result.

@skizzato
Copy link

Hi,
I have found the same issue when you try to flip to a new page really quickly (especially in a short swipe range).
Someone has figured out how solve or bypass this in some way?
Thanks.

@isaru66
The issue about swiping when the flip animation is running is different from this, you can solve it by implementing a boolean set ON during animation and check this boolean value after flip request by user in order to allow the flip to a new page or not.

@dawsontoth
Copy link
Contributor

Check out this pull request for a possible fix. Works for me:
#5

@isaru66
Copy link

isaru66 commented Jul 22, 2011

Thank you very much.

@dawsontoth
Copy link
Contributor

@skizzato and @ivasic: With my fix merged in to the master branch, can you still reproduce the problem you were seeing? I know I fixed the issue I was seeing (swiping really quickly resulting in broken rendering), but I want to make sure you're taken care of too.

@skizzato
Copy link

Hi dawsontoth, really thanks to share with us your code!
Unfortunately I still have the problem about the Flip View totally disappeared after a really fast swipe gesture, it looks like the Flip doesn't have the time to render the pages. I don't really know how to fix this issue.

@isaru66
Copy link

isaru66 commented Aug 1, 2011

there is someone fix this also check at >> https://github.com/raweng/FlipView

@skizzato
Copy link

skizzato commented Aug 1, 2011

Thanks really really much isaru, I solved my problem with that.
Cheers

@isaru66
Copy link

isaru66 commented Aug 5, 2011

@skizzato , I am not the owner of the https://github.com/raweng/FlipView , so you should thank @Reefaq
Cheers too.

@shakir1311
Copy link

  • (void) cleanupFlip {
    .......

    self.currentView.alpha = 1;

    self.currentView.frame = self.bounds;

    if ( self.subviews.count == 0 )
    {
    [self addSubview:currentView];
    }
    self.nextView = nil;

    [self setUserInteractionEnabled:TRUE];
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants