openframeworks/openFrameworks — pull request #3373 by julapy (2014-10-29 12:23:27+00:00)
Title: ofxiOS scaleFactor fix

with the release of iPhone 6 and iPhone6+ the content scale of the opengl view can now go up to 3.0
its now important to have more control over the scaleFactor to prevent old projects breaking on these new devices.

a scale can now be specified when enabling retina.
if no scale is provided when enabling retina then ofxiOS assumes you would like to launch with maximum supported scale which maintains backwards compatibility.

where this comes in handy is on the iPhone6+ where the maximum scale factor is now 3.0
and if you have a project that now looks shrunken on the iPhone6+, you can set the scale factor to 2.0 (same as on the iPhone4 - iPhone5S) and your app will display correctly.

to specify a scale factor use,
`ofAppiOSWindow::enableRetina(float retinaScale)`
or specify in the main.mm using `ofAppiOSWindow::Settings`

ive tested this thoroughly as i needed this working for a current project.
if anyone spots any issues, please let me know.