If I need to resize or reposition a UIView, is there a better way to do it than the following?
view.frame = CGRectMake(view.frame.origin.x, view.frame.origin.y, view.frame.size.width, view.frame.size.height - 100);
Or in other words, is there a way to just say view.frame.size.height -= 100 through a non-readonly property?
If you want the
-=100
effect, just do:Then you can be certain you're changing exactly what you want to change, too..
Other than that, I don't think there's a way..