Objective C - 适用于iPad和iPhone的一个故事板
我只是想知道iPad和iPhone应用程序是否可以共享相同的故事板?
I just want to know if it is possible for an iPad and iPhone application to share the same storyboard?
我目前有2个故事板,一个用于iPad和一个对于iPhone。是否可以让两个设备在同一个故事板上运行?
I currently have 2 storyboards, one for iPad and one for iPhone. Is it possible to have both devices running form the same storyboard?
问候,
EZFrag
Regards, EZFrag
如果您的iPhone和iPad具有相同的视图,那么这是可能的,您在iPhone中创建的视图将拉伸以填充iPad屏幕,但不建议这样做,因为iPad有更大的屏幕你应为iPad和iPhone创建具有不同视图排列和结构的不同视图
If your iPhone and iPad has same views, then this is possible, the views you create in your iPhone will stretch to fill the iPad screen, however this is not recommended since iPad has bigger screen you should create different views with different view arrangements and structure for both the iPad and the iPhone
为iPad和iPhone设置相同的故事板检查屏幕截图
To set the same story board for the iPad and iPhone check the screen shot