UIScrollView
我有一个视图,它的子视图是当我尝试缩放时UIImageView
的子视图,并且也正在缩放。但问题是我接触到了一半的观点。UIScrollView.
UIView
UIScrollView
UIImageView
这是我的代码
[UIView animateWithDuration:0.5 delay:0.0 options:0 animations:^{
CGFloat DesiredWidth = 250.0;
CGFloat DesiredHeight = 300.0;
CGAffineTransform scalingTransform1;
scalingTransform1 = CGAffineTransformMakeScale(DesiredWidth/self.view1.bounds.size.width,
DesiredHeight/self.view1.bounds.size.height);
self.view1.transform = scalingTransform1;
self.view1.center=CGPointMake(268, 250); }completion:^(BOOL finished)
{ }];
请任何人都可以告诉我如何联系我。我搜索了很多但找不到
谢谢