I try to scale an UIView. And there is a white background outside of an UIview. How I can take it out to see just background view? Thanks!
self.view.transform = CGAffineTransformMakeScale(.5,.5);
[UIView beginAnimations:nil co开发者_开发问答ntext:NULL];
[UIView setAnimationDuration:0.9];
self.view.transform = CGAffineTransformMakeScale(1,1);
[UIView commitAnimations];
Try setting the background color of the view you need to be transparent to [UIColor clearColor]:
myView.backgroundColor = [UIColor clearColor];
精彩评论