Ok I have a UIScrollView and I am using a pinch gesture to zoome it, or at 
least I'm trying too. Basically when I attempt to zoom absolutely nothing 
happens.

the view never gets bigger or smaller it does nothing really.  All the numbers 
are passing correctly according to NSLog but I get no zoom at all.


- (void)scrollViewDidEndZooming:(UIScrollView *)sv withView:(UIView *)view 
atScale:(float)scale {
    [scrollView setZoomScale:scale animated:NO];

}
- (UIView *)viewForZoomingInScrollView:(UIScrollView *)sv {
    return docView;
}


-(void)setNewZoom:(float)scale fromPoint:(CGPoint)point
{
        CGRect zoomRect = [self zoomRectForScale:scale withCenter:point];
    [scrollView zoomToRect:zoomRect animated:YES];
}_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to