[英]ios - how do I make an app which I developed on the iPhone storyboard also work on the iPad?
I have an app that is nearing completion. 我有一个即将完成的应用程序。 So far I have just been using the iPhone storyboard to map out the navigation, but I would also like the app to work on the iPad.
到目前为止,我一直在使用iPhone故事板来绘制导航图,但我也希望该应用程序可以在iPad上运行。 Is there a way to just "make it work" or do I have to re-do by hand the entire app flow on the iPad's storyboard?
有没有一种方法可以使它“正常工作”,或者我必须手动在iPad的故事板上重新执行整个应用程序流程?
Thanks! 谢谢!
Considering they have different resolutions, and aspect ratios, you really just have to grin and bear it, and convert it all manually. 考虑到它们具有不同的分辨率和宽高比,您实际上只需要咧着嘴笑,然后手动将其全部转换即可。 You can at least copy the storyboard file to a new one, and adjust the views one by one to be ipad-sized
您至少可以将情节提要文件复制到一个新的故事板上,然后将视图一一调整为ipad大小
If you made it a universal app, I'd suggest creating another storyboard targeted for iPad and work from scratch. 如果您将其设为通用应用程序,则建议您创建另一个针对iPad的故事板,并从头开始工作。 You can still use all the controllers and methods therein for your new views (considering there's nothing very specific) with some slight modifications to adjust for the iPad.
您仍然可以对其中的所有视图使用新的控制器和方法(考虑到没有什么非常具体的功能),并进行一些细微修改以适应iPad。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.