Prerna chavan
Prerna chavan

Reputation: 3249

Resize UIView after rotation transformation

I have added image view as subview in uiview. now i have rotated this image view using transformation. How can i resize the image view after the rotation transformation is applied.

Upvotes: 0

Views: 1257

Answers (1)

wattson12
wattson12

Reputation: 11174

you shouldn't resize manually, you should be setting the autoresizingMask of the view so that it is automatically resized when the rotation occurs

Upvotes: 1

Related Questions