See the documentation for UIView and, in particular, the frame , bounds and center properties
I assume that you are adding a subview so that you want it in a coordinate relative to the parent view. Then you use the frame.
CGRect r = [subView frame]; r.origin.y = 450.0f; [subView setFrame:r];
Something like that.
willcodejavaforfood
source share