How to copy or duplicate a ViewController in Interface Builder?

后端 未结 1 1526
甜味超标
甜味超标 2021-02-05 02:56

Is there a way to copy & paste/duplicate the View Controller Scene in Xcode using the Interface Builder and not code?

1条回答
  •  旧时难觅i
    2021-02-05 03:17

    In Interface Builder, instead of trying to copy/paste directly from the visual representation of your ViewController, do it from the list on the left.

    The new View Controller will be pasted right on top of the original one.

    enter image description here

    0 讨论(0)
提交回复
热议问题