UIView动画

父视图产生缩放效果的代码

[UIView beginAnimations:nil context:nil];

    self.view.transform = CGAffineTransformScale(CGAffineTransformIdentity,0.8,0.8);

    self.view.center = CGPointMake(-60,[UIScreen mainScreen].bounds.size.height/2);

[UIView commitAnimations];

posted @ 2015-10-10 18:03  上官元空  阅读(92)  评论(0编辑  收藏  举报