XBPageCurl icon indicating copy to clipboard operation
XBPageCurl copied to clipboard

Curl XBPageDragView on Tap

Open xxtesaxx opened this issue 12 years ago • 2 comments

Due to my last issue (https://github.com/xissburg/XBPageCurl/issues/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?

xxtesaxx avatar Jan 18 '13 10:01 xxtesaxx

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.

xissburg avatar Jan 19 '13 14:01 xissburg

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

ichbinder avatar Jun 19 '13 10:06 ichbinder