tags:

views:

23

answers:

0

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 context:NULL];
[UIView setAnimationDuration:0.9];
self.view.transform = CGAffineTransformMakeScale(1,1);
[UIView commitAnimations];