开发者

iPad UI clipped in simulator

开发者 https://www.devze.com 2022-12-28 16:29 出处:网络
My views created for iPad form factor look fine in Interface Builder. However, when I debug my app in iPhone Simulator 3.2 (with Hardware -> Device set to iPad), I see the UI clipped and about half si

My views created for iPad form factor look fine in Interface Builder. However, when I debug my app in iPhone Simulator 3.2 (with Hardware -> Device set to iPad), I see the UI clipped and about half size. There is a 2x button at开发者_C百科 the bottom which lets me zoom in. But this just shows the same clipped UI in double size.

This is really weird since I have created the XIB for iPad form factor and it is supposed to fit iPad completely. Any ideas what I might be doing wrong?

I am using iPhone SDK 3.2 downloaded on 4/30/2010.

Thanks.

-Raj


It sounds like you've accidentally created an iphone project, rather than an ipad project. In the "New Project Dialog", make sure you select iPad from the "Product" dropdown in the middle of the dialog:

alt text http://www.freeimagehosting.net/uploads/7f49d44254.png

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号