objective c - How to change position (x,y cordinate) of a view dynamically -


I have an app that loads a view in it, I want to give the scene loaded in 450pt y cordinate I am How to do this.

Regarding the presentation

Frame , limits and center

I think you are adding a subview so that you want it to be coordinates which can be found in the original view Is relative. Then you use the frame.

  cgrt r = [subview frames]; R.origin.y = 450.0f; [Subview Setframe: R];  

Something like this


Comments