So, I created an iPhone app, and I wanted to convert it to an iPad by following the steps below.
Duplicate your iPhone storyboard and rename it MainStoryboard_iPad.storyboard
Open this file in any text editor.
Find targetRuntime = "iOS.CocoaTouch" and change it to targetRuntime = "iOS.CocoaTouch.iPad"
Now save everything and run Xcode again β iPad-Storyboard contains the same as the iPhone file, but everything can be frustrated
Everything is done correctly, but the image / iPad device in any case uses the iPhone storyboard. Any suggestions?
I installed the iPad layout in the summary -> ipad deployment information -> Main storyboard. And main.plist-> The main name for the storyboard file (iPad) is set to the iPad storyboard.
Please tell me what I am missing.
UPD . The interesting thing is, when I remove the name of the iPad storyboard from the ipad deployment information, it still uses my iPhone storyboard on the device.




source
share