forum

Home / DeveloperSection / Forums / How to set component from one superview to another without loosing frame & position in Xcode?

How to set component from one superview to another without loosing frame & position in Xcode?

Anonymous User238804-Apr-2016

I want to move a component from one superview to another superview  in our application. So, my question is can we move the component without loosing frame/position to be reset. Because in Xcode the default behaviour when doing this appears in center the view being moved vertically and horizontally in its new superview, while preserving its dimensions.

So, please tell me how can I move the component without loosing frame/position of component in another view?


Updated on 05-Apr-2016
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By