将 iPhone 应用程序升级到 iPad 应用程序后
我升级了我的 iPhone 应用程序,现在它与 iOS3 和 ipad 兼容。我创建了项目的两个副本。我将一份副本升级为两个特定于设备的应用程序,将第二份副本升级为一个通用应用程序。
现在,两个设备特定的应用程序在 ipad 中运行,并以 1 倍缩放显示。它显示了一个 2 倍缩放按钮,使其适合 ipad 屏幕。它还会更改 UI 元素的大小。这是ipad应用程序的默认行为吗?
虽然一款通用应用程序在 iPad 中打开,但不显示 2 倍缩放按钮。它会自动使屏幕尺寸适合 ipad 屏幕尺寸,但问题是它不会更改日期选择器等 UI 元素的大小。这是 ipad 应用程序的默认行为吗?
据我所知,ipad 应用程序应该以全屏打开,而不显示 2 倍缩放,并且还应该更改 UI 元素的大小。所以他们两个都工作得不好。我错了吗?如果没有,我该如何解决这个问题。
如果我错了,请告诉我哪个通用应用程序适用于 ipad。
I upgraded my iphone app an now it is compatible with iOS3 and ipad. I created two copies of my project. I upgraded one copy to two device-specific application and second copy to one universal application.
Now two device specific app runs in ipad and and appears with 1x zoom. it shows a 2x zoom button which makes it fit to the ipad screen. It also changes the size of UI Element. Is it the default behavior of ipad application?
While one universal application opens in ipad withot showing 2x zoom button. It automatically fits the screen size to ipad screen size but the problem is that it doesn't change size of UI elements like datepicker etc. Is it the default behavior of ipad application?
As far as I know ipad application should open with full screen without showing 2x zoom and it should also change the size of UI elements. So both of them are not working fine. Am I wrong? If not, how do I fix this problem.
If I am wrong please tell me which universal app is working correctly for ipad.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
UIDatePicker
不应在 iPad 上以填满屏幕的方式显示。事实上,即使你设法让它填满整个屏幕(这是可能的),你的应用程序也会被拒绝,因为这不是你应该在 iPad 上使用它的方式。根据上下文,考虑使用UIPopoverController
来显示UIDatePicker
可能是个好主意。The
UIDatePicker
is not supposed to be shown in a screen-filling fashion on the iPad. In fact, even if you manage to get it filling the entire screen (which is possible), your app will get rejected as this is not the way you should be using it on the iPad. Depending on the context, it might be a good idea to consider using aUIPopoverController
for showing theUIDatePicker
.