-
Notifications
You must be signed in to change notification settings - Fork 86
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
Blank Page when flipping #30
Comments
Did you solve it? :) |
Im experiencing this as well. Is there anybody here who can clear things out? |
when rapidly flipping, a blank page appears randomly. |
I think its not related to the pdf view. I am using flipper to one of my projects and it still occurs. I think its being caused by the flipper gesture recognizer setting the alpha value of the page. I'm still trying to figure out how to fix it. |
Guys, did anyone resolve this? currently experiencing this myself. Not related to PDF as I am now supplying UIImageView's that have images supplied from the bundle. Nothing is null that shouldnt be (As far as I can see) |
the best way is to use an other project. Try with this https://github.com/mpospese/MPFlipViewController. it works very well |
@burrows111 does it happen when you're rapidly flipping or not? |
Yeah when flipping rapidly. @teffi |
I hope someone can help @teffi . @ahmedbenahmed moving to a different solution is not an option as of yet but thank you for the heads up |
I fixed it, to my belief. If someone will be kind enough to validate what I have done that would be good. I will attached the files :) |
could you attach the correct files? |
@ahmedbenahmed how do I attach files? sorry |
Attach images by dragging & dropping, selecting them, or pasting from the clipboard. |
Cool ill sort that shortly, im currently testing on the iPad to make sure the issue is fixed. |
Be easier like this: ' so, I placed an if statement in it so '
' |
"Rapidly flipping" still left us clueless on where or what causes the blank. Luckily, sort of, I figured one scenario where it happens. So far, it does give you a blank page when the user touches/swiped the next view while the current view is on the process of flipping causing a mess in subviews (Well, in reality most people I think won't be doing such but for a developer a bug is a bug and we can't just sleep it off). Disabled user interaction to prevent user to swipe/interact while the flip is still on
Revert back to default.
@burrows111 I don't think this is the most appropriate / permanent solution to fix the blank page issue but so far with what I know this could at least lessen the possibility of users getting a blank page. Hope it helps. |
@teffi hey thanks for your input, check out my fix above. seems ok, running no issues so far and no blank page. not seeing the userInteraction issue though. |
im sorry for the formatting guys, i couldn't see a way to indicate what i pasted was code. |
@burrows111 on my project the subviews are not less than 2 but 1. Edit: Been testing your solution on my end it messes up my pages.Anyway if its working good on your end then great! :) |
@teffi unsure, it may prove helpful. When I'm done with the project I'm doing ill fork my solution as I merged changes for a different fork that had shadows on the page turns aswell. |
when flipping, a blank page appears randomly.
The text was updated successfully, but these errors were encountered: