The Delegate is not calling the
I do have a delegate method that is being called like this and it works.
I set up my scrollview for zooming
my over all goal is to pinch zoom and to have it stay at the new zoom value without snapping back.
Any idea as to why it is not calling this delegate method?
Thanks
Code:
-(void)scrollViewDidEndZooming:(UIScrollView *)scrollView withView:(UIView *)view atScale:(float)scale method?
Code:
- (void)scrollViewDidZoom:(UIScrollView *)scrollView{
NSLog(@"IS Zooming %f",[self.scrollView zoomScale]);
}
I set up my scrollview for zooming
Code:
- (void)viewDidLoad
{
[super viewDidLoad];
[self.scrollView setContentSize:[self getImageDimmensions]];//CGSizeMake(self.view.frame.size.width + pages, self.view.frame.size.height)];
[self.scrollView addSubview:menuView];
[self.scrollView setMaximumZoomScale:6.0];
[self.scrollView setMaximumZoomScale:0.70];
[self.scrollView setZoomScale:6.0 animated:YES];
self. scrollView.delegate = self;
[self.scrollView setClipsToBounds:YES];
}
my over all goal is to pinch zoom and to have it stay at the new zoom value without snapping back.
Any idea as to why it is not calling this delegate method?
Thanks