Genadinik
Genadinik

Reputation: 18639

How to add iPad storyboard for project created for iPhone only?

I originally created the project with just the iPhone storyboard. But now I want to add the iPad storyboard. But I am not certain how exactly to do that.

Would anyone be able to explain to me how to do that?

Upvotes: 2

Views: 5689

Answers (1)

AJ112
AJ112

Reputation: 5301

Navigate to File > New > File > User Interface > Storyboard and then select iPad. This is how you will create the storyboard for the iPad.

Secondly, you have to iOS Application Target and select the Universal Type so it can also run on iPad.

Thirdly, you have to go to iPhone Storyboard and copy all by selecting all the content in it. Go into the iPad storyboard and paste it in.

It will create everything for you and it will run on your iPad as well. All the connections with the code that you have made in the iPhone StoryBoard will work in the iPad StoryBoard as well.

But as you can guess iPad has a bigger screen so you can build on top of it by adding other iPad only functionalities. But thats how you can get started.

Hope it helps!

Upvotes: 12

Related Questions