What is the best way to copy a storyboard from one application to another on ios?

I am working on updating the current architecture of the ios project. To move the storyboards, I copied the old Main.Storyboard and LaunchScreen.StoryBoard xml to the new Main.Storyboard and LaunchScreen.StoryBoard xml (the project name was the same).

I also fixed the localization and assets link. Everything is fine, and after the successful creation of the project, the UI becomes distorted in iphone 6 and in a version other than iphone 5 . I confirm the restriction with the old project, and there were no changes.

The old application works great with various iphone screen sizes. Is there a good way to copy a storyboard? Or am I missing something here?

Edit-1

I think the size of the StoryBoard layout is limited to iphone5 only.

+6
source share
2 answers

How you did it, right. You are simply faced with the fact that your layout restrictions are either nonexistent or incorrect. There is nothing magical about the storyboard ... it's just a file like any other that you copy to your new project.

You should probably choose your top-level view in each view controller, and then tell Xcode to remove all the restrictions and reset them to the proposed ones, and from there from there.

+4
source

TRY IT: -

enter image description here

Then view the StoryBoardName.storyboard file.

This will definitely work, including all of your constants.

+4
source

All Articles