2012-03-29 51 views

回答

1
// save it 
CGAffineTransform transform = myView.transform; 
// reset it 
myView.transform = CGAffineTransformIdentity; 
// change the frame 
myView.frame = CGRectMake(/*do stuff to the frame*/); 
// restore it 
myView.transform = transform;