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

Curl XBPageDragView on Tap #42

Open
xxtesaxx opened this issue Jan 18, 2013 · 2 comments
Open

Curl XBPageDragView on Tap #42

xxtesaxx opened this issue Jan 18, 2013 · 2 comments

Comments

@xxtesaxx
Copy link

Due to my last issue (#41) another question occurred to me: How would i make the XBPageDragView curl on a single tap?

Should i add a UITapGestureRecognizer to the XBPageDragView which calls the XBPageDragViews pageCurlView touchEndedAtPoint: method with CGPointMake(self.viewToCurl.frame.size.width_0.5, self.viewToCurl.frame.size.height_0.67) or is there a proper solution?

@xissburg
Copy link
Owner

Hm that is an interesting feature. I think the best thing to do is to add this capability into the XBPageDragView itself. I will look into this later.

@ichbinder
Copy link

Hi,
I look for a solution to close the curl with a single tap. I see you fine a solution but I don't understand it or better I tried but it works not. It would be really great if you could send me a code example. :)
Br,
ichbinder

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

No branches or pull requests

3 participants