UIView旋转与变形同时

来源:互联网 发布:mac开发windows程序 编辑:程序博客网 时间:2024/06/10 00:00

   #define PI3.14159265

 

    [UIViewbeginAnimations:@"LipeiranView"context:nil];

    [UIViewsetAnimationDuration:0.5];

   // Make the animatable changes.

   CGAffineTransform transform=CGAffineTransformMakeRotation(PI);

    CGAffineTransform scaled=CGAffineTransformScale(transform,2,2);

   //Apply the affine transform

    [testViewsetTransform:scaled];


原创粉丝点击