You have an iPhone storyboard and want to support the iPad too? This can be done in a quick way:
- Open Xcode
- Duplicate the existing storyboard.
- Rename them to "MainStoryboard_iPhone.storyboard" and "MainStoryboard_iPad.storyboard"
- Right click on the "MainStoryboard_iPad.storyboard" file > "Open as" > "Source code"
- Search & Replace:
targetRuntime="iOS.CocoaTouch"
with:
targetRuntime="iOS.CocoaTouch.iPad" - Done!
0 Kommentare:
Post a Comment