How can I make a conditional cases based on the model of the iPhone (not of iOS version) like so?
int myResolution = 10;
if ( model >= iPhone3GS ) {
myResolution = 100;
}
if ( model >= iPhone4 ) {
myResolution = 120;
}
if ( model >= iPhone5 ) {
myResolution = 200;
}
Basically so I can quickly set the resolution for some custom OpenGL drawing to manually tweak the performance.