Winfred
Winfred

Reputation: 13

Xcode with phonegap project Ipad simulator turns into iphone size

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 run like an iphone app. Anyone some experience and sollution for this.

thanks

Upvotes: 1

Views: 1262

Answers (1)

Sanchit Paurush
Sanchit Paurush

Reputation: 6152

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.

Upvotes: 0

Related Questions