0

When creating a Universal application using Storyboard do people reuse the iPhone views (UITableView) etc in their iPad application or do they make all the views for the iPad from scratch? OR it depends :)

4

2 回答 2

1

这真的取决于。我尽可能多地尝试重用视图,但出于定制化的目的,它通常会在需要为 ipad 制作单独的 .xib 的地方解决。如果您正在做一个基于导航的应用程序并且您使用 splitview 控制器,您基本上可以重用 iphone 和 iPad 之间的所有导航屏幕

于 2013-01-07T22:56:32.427 回答
-1

好吧,真的没有什么可重用的。UITableView 的布局在 iPad 上与 iPhone 上的尺寸差异很大。

当您将应用程序从 iPhone 移植到 iPad 时,您应该专注于调整用户体验以适应更大的屏幕。不仅仅是在 iPad 上使用与 iPhone 相同的视图。

于 2013-01-07T22:56:02.817 回答