Xcode - Is there a way to drag a component from one view to another without losing its frame?

前端 未结 9 558
无人及你
无人及你 2020-12-04 07:22

What I\'d like to do is drag a component/view from one superview to another in Xcode\'s interface-builder without having its frame/position be reset.

Xcode\'s defa

9条回答
  •  臣服心动
    2020-12-04 08:14

    Another solution:

    1. Select the items you want in your subview, then
    2. (in the tool bar) Editor > Embed In > view type to embed in.

提交回复
热议问题