开发者

Xcode with phonegap project Ipad simulator turns into iphone size

开发者 https://www.devze.com 2023-03-27 13:16 出处:网络
I started a phonegap project in xcode (3.2.6 with sdk 4.3). The example code should show a \"Hello world\" like message, and it does. But even when i selected the ipad simulator in xcode, and checked

I started a phonegap project in xcode (3.2.6 with sdk 4.3). The example code should show a "Hello world" like message, and it does. But even when i selected the ipad simulator in xcode, and checked the "device" -> "Ipad" option to be selected it resizes the app to iphone format. I still see the simulator as an ipad, but the size of the app changes to iphone. Also the 2x button appears. So it looks like my phonegap project misses some config, or xcode is thinking it stills has to be ru开发者_运维问答n like an iphone app. Anyone some experience and sollution for this.

thanks


For iPad you need to build a new project. Because if you run the iPhone project in iPad simulator then it will look as it looks in iPhone. So better to create two projects one for iPhone and other one for iPad.

0

精彩评论

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