UIScrollView imageViewDidEndZooming not being called

Posted by Jorge on Stack Overflow See other posts from Stack Overflow or by Jorge
Published on 2009-10-28T20:48:00Z Indexed on 2010/04/22 4:03 UTC
Read the original article Hit count: 631

I have this subclass of UIScrollView:

@interface MyScrollView : UIScrollView <UIScrollViewDelegate>

And I have those delegate methods

- (void)scrollViewDidEndZooming:(UIScrollView *)aScrollView withView:(UIView *)view atScale(float)aScale{
    NSLog(@"zoomed");
}
- (UIView *)viewForZoomingInScrollView:(UIScrollView *)aScrollView{
    NSLog(@"willzoom");
}

When I zoom in MyScrollView viewForZoomingInScrollView is called but scrollViewDidEndZooming never gets called.

Any idea why??

© Stack Overflow or respective owner

Related posts about uiscrollview

Related posts about iphone