I have a UITableViewController with a custom UIView as a subview. When I rotate the iPhone from portrait to landscape orientation the UIView subview rotates correctly but does not resize correctly. How can I resize the custom UIView when the device is rotated?
I have a UITableViewController with a custom UIView as a subview. When I rotate
Share
Set the
UIView‘sautoresizingMasklike so:This should mean that the view resizes itself automatically on rotation.