iOS: howto set max reslution?

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
igorvlassov
Halfling
Posts: 89
Joined: Thu Apr 22, 2004 11:22 am
x 1

iOS: howto set max reslution?

Post by igorvlassov »

Hello,

how to set max resolution for any iOS device where universal app could be run?

Thanks,
Igor
User avatar
masterfalcon
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126

Re: iOS: howto set max reslution?

Post by masterfalcon »

The actual screen resolution is used on every device, which is the only one for most. But in the case of devices with a Retina display, the content scaling factor is automatically set to 2.0(the max). So really, you shouldn't have to do anything at all.
igorvlassov
Halfling
Posts: 89
Joined: Thu Apr 22, 2004 11:22 am
x 1

Re: iOS: howto set max reslution?

Post by igorvlassov »

Thanks for the quick reply, Master,

there is what I have:
-I created the project based on OGRE template;
-OGRE initialisation is made via unchanged OgreFramework::initOgre
- I have Full Screen=Yes & Video Mode=320 x 480 in ogre.cfg
Unfortunately I haven't iPad for testing but from emulator view I thought my app should run in the small rectangle in iPad screen's center with the 2x button.
But actually it starts in lower left screen's corner as itunes testers show me (
issue.jpg
).
So what should I do with?

Thanks,
Igor
You do not have the required permissions to view the files attached to this post.
User avatar
masterfalcon
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126

Re: iOS: howto set max reslution?

Post by masterfalcon »

My guess is that either the project was first built just for iPhone and not universal or you ran it in the simulator as an iPhone first(the settings are shared).
igorvlassov
Halfling
Posts: 89
Joined: Thu Apr 22, 2004 11:22 am
x 1

Re: iOS: howto set max reslution?

Post by igorvlassov »

Dear Master,
I'm very new in XCode. Can you point me to the right settings please?
Thanks,
Igor
User avatar
masterfalcon
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126

Re: iOS: howto set max reslution?

Post by masterfalcon »

It will be in the target(application) settings under Summary.
igorvlassov
Halfling
Posts: 89
Joined: Thu Apr 22, 2004 11:22 am
x 1

Re: iOS: howto set max reslution?

Post by igorvlassov »

Oh, so sorry!
I developed & debugged it as iPhone app (Project settings->Deployment->Targeted device family=iPhone), but final release version built as universal (iphone/ipad) app!
Thanks, Master!