frame
bounds
center
transform
alpha
backgroundColor
contentStretch
例如一个视图淡出屏幕,另外一个视图出现的代码
[UIView animateWithDuration:1.0 animations:^{ firstView.alpha = 0.0; secondView.alpha = 1.0; }];
center = CGPointMake(self.view.frame.size.width/2, 240+10);
frame
bounds
center
transform
alpha
backgroundColor
contentStretch
例如一个视图淡出屏幕,另外一个视图出现的代码
[UIView animateWithDuration:1.0 animations:^{ firstView.alpha = 0.0; secondView.alpha = 1.0; }];
center = CGPointMake(self.view.frame.size.width/2, 240+10);