Users Pricing

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 User 3034 04 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?


I am a content writter !


1 Answers