I have a UIView that has another UIView and a UIImageView inside of it. I want to flaten the UIImage onto the UIView. If it helps you can think of the layout like this:
-UIView
---UIImageView
---UIView
How can I capture the whole UIView and save it as a single image?