You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
as in the example I created a dragview to curl a view, it works perfectly.
I want it to curl not only with the swipe but also with the tap, so I put a tap gesture recognizer on dragview, which method do I call to bend it?
Thanks
The text was updated successfully, but these errors were encountered:
You should call - [XBCurlView curlView:cylinderPosition:cylinderAngle:cylinderRadius:animatedWithDuration:], as you can see in SimpleCurlViewController.m:
- (IBAction)curlButtonAction:(id)sender
{
CGRect r = self.messyView.frame;
self.curlView.opaque = NO; //Transparency on the next page (so that the view behind curlView will appear)
self.curlView.pageOpaque = YES; //The page to be curled has no transparency
[self.curlView curlView:self.messyView cylinderPosition:CGPointMake(r.size.width/3, r.size.height/2) cylinderAngle:M_PI_2+0.23cylinderRadius:UI_USER_INTERFACE_IDIOM()==UIUserInterfaceIdiomPad? 80:50animatedWithDuration:kDuration];
isCurled = YES;
}
Hi,
as in the example I created a dragview to curl a view, it works perfectly.
I want it to curl not only with the swipe but also with the tap, so I put a tap gesture recognizer on dragview, which method do I call to bend it?
Thanks
The text was updated successfully, but these errors were encountered: