Making two storyboards for iOS (iPhone and iPad)

后端 未结 5 708
挽巷
挽巷 2021-01-13 10:48

Is it possible to make only one application and inside of it make two storyboards, one for iPhone and one for iPad? I don\'t like the idea of running the app on iPad and cli

5条回答
  •  孤独总比滥情好
    2021-01-13 11:12

    create two different storyboards and name them so they are easily specified which is which. Then click on the file that allows you to change settings for your actual app. and change the build to universal, then specify which storyboard you want to use!

    there is a storyboard setting for iphone and ipad

    iPhone

    enter image description here

    iPad

    enter image description here

    Make sure the names of the storyboards are correctly set though

提交回复
热议问题