[英]universal ios app iPad and iPhone architecture
I'm creating a universal iOS app. 我正在创建一个通用的iOS应用。 I have a different UI for each one of them in most of the screens. 在大多数屏幕上,我每个人都有一个不同的UI。 There are about 15 screens. 大约有15个屏幕。 I'm coming from Android and trying to find the best solution for that. 我来自Android,并试图为此找到最佳解决方案。
I looked a bit on stack overflow, and got some of those methods: 我看了一下堆栈溢出,得到了其中一些方法:
Should I use 2 different classes, and 2 nibs? 我应该使用2个不同的类和2个笔尖吗? Or maybe 1 class with tons of if else? 或者也许是一类,如果还有吨呢? Use different targets? 使用不同的目标?
Is one of those is the best way? 这些是最好的方法之一吗? Is there any other way? 还有其他办法吗?
When I need to design a universal app I look at the interface I think I need to support and try: 当我需要设计通用应用程序时,我看一下我需要支持并尝试的界面:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.