GLBasic forum

Main forum => GLBasic - en => Topic started by: shawnus on 2011-Oct-24

Title: building for iPad 2, res still stuck for iPhone
Post by: shawnus on 2011-Oct-24
Hi, I am trying to build for iPad & have set 1024x768 in project settings (resolution) and then selected iPhone in 'build multiplatform'. the resolution on the iPad still comes out as if it was built for the iPhone. I have tried both ways (1024x768 and 768x1024)- the orientation changes but its still 'small'. Am I doing something fundamentally wrong here- any advice appreciated! I am on GLB v10.057.

Cheers, Shawnus
Title: Re: building for iPad 2, res still stuck for iPhone
Post by: spacefractal on 2011-Oct-24
There is a setting in Xcode, where you need to compile it to Universial (or iPad, if its iPad exclusive) and not for iPhone (hence you got the small area). I'm not remember where its is (since I have  turned mac off etc).
Title: Re: building for iPad 2, res still stuck for iPhone
Post by: shawnus on 2011-Oct-24
ok thats great Ill check it out, thanks very much!!
Title: Re: building for iPad 2, res still stuck for iPhone
Post by: spicypixel on 2011-Oct-24
Select Target on the left hand side and once expanded click the "iPhone" app name that should be there and then CMD + I to get the info window up. From there you can set the Package name so that your app isn't called iPhone when on the device, you can set the base SDK needed to run your app and also you can set either iPhone, iPhone/iPad or iPad for the target build, hope that helps ;)
Title: Re: building for iPad 2, res still stuck for iPhone
Post by: shawnus on 2011-Oct-25
SpicyP, that did it- thanks!