我尝试扩展UIView。在UIview之外还有一个白色背景。我怎么能把它拿出去看背景视图?谢谢!
self.view.transform = CGAffineTransformMakeScale(.5,.5);
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.9];
self.view.transform = CGAffineTransformMakeScale(1,1);
[UIView commitAnimations];
答案 0 :(得分:1)
尝试将您需要透明的视图的背景颜色设置为[UIColor clearColor]:
myView.backgroundColor = [UIColor clearColor];