From willAnimateRotationToInterfaceOrientation how can I get the size the view will be after rotation?
<p>I am trying to resize the objects in a UIView when the device is rotated without hard coding the width and height. In this code how would I get the <code>newWidth</code> and <code>newHeight</code>?</p>

<pre><code>- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration {
    child.frame = CGRectMake(10, 10, newWidth - 20, newHeight - 20);
}
</code></pre>
