What is the best way to copy storyboard from one app to another in ios?

Solution

enter image description here

Than browse your StoryBoardName.storyboard file.

That'll definitely work including all your constants .

Note : make sure you check copy item if needed when you add you file to protect the original source file.


The way you did it is correct. You're simply running into the fact that your layout constraints are either non-existant or wrong. There's nothing magical about a storyboard...it's just a file like any other you'd copy into your new project.

You should probably select your toplevel view in each view controller and then tell Xcode to remove all the constraints and reset them to the suggested ones, and go from there.