<p>Is it possible to scale a UIView down to 0 (width and height is 0) using CGAffineTransformMakeScale?</p>
<p>view.transform = CGAffineTransformMakeScale(0.0f, 0.0f);</p>
<p>Why would this throw an error of &quot;<code>&lt;Error&gt;: CGAffineTransformInvert: singular matrix.</code>&quot; ?</p>
<br />
<br />
<p><em>Update:
There is another way of scaling down a UIView to 0</em></p>
<pre><code>[UIView beginAnimations:nil context:nil]; 
[UIView setAnimationDuration:0.3]; 
view.frame = CGRectMake(view.center.x, view.center.y, 0, 0);

[UIView commitAnimations];
</code></pre>

I'm not sure it's possible to do this; you'll start running into divide-by-zero issues. If you try to do this, you'll be creating a transform that looks like:
```
```
0  0  0
   0  0  0
   0  0  1
```
```
Which, when applied to ANY other transform, will produce the above transform.
Why not just hide the view (if you want to scale it out of sight) or set the scaling factor to something like 0.001 (if you want to scale it in)?