Hello,
how to set max resolution for any iOS device where universal app could be run?
Thanks,
Igor
iOS: howto set max reslution?
-
igorvlassov
- Halfling
- Posts: 89
- Joined: Thu Apr 22, 2004 11:22 am
- x 1
-
masterfalcon
- 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?
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?
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 ().
So what should I do with?
Thanks,
Igor
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 ().
So what should I do with?
Thanks,
Igor
You do not have the required permissions to view the files attached to this post.
-
masterfalcon
- 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?
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?
Dear Master,
I'm very new in XCode. Can you point me to the right settings please?
Thanks,
Igor
I'm very new in XCode. Can you point me to the right settings please?
Thanks,
Igor
-
masterfalcon
- 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?
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?
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!
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!