So we have our iphone app squared away but now we want to put it on the ipad. The app has a lot of positional touch events that only take the iphone’s resolution into account so now we need a good way to quickly change those positional touch events for the ipad’s resolution. Is there a good, fast way to convert the iphone touch events into ipad touch events?
should be easy to handle as you already have two different touch handlings to handle iDevice 4th gen and older, don’t you?
The ipad just would be a similar thing again.
But keep in mind: if you are not doing a universal binary, you must do more than just “better art” or a “new build” to bring it to the ipad, apple will not allow you making ipad versions that are basically universal binary.
We were using one touch handling and set target resolution in the build settings to standard to handle iphone4s specifically. So we don’t have a system in place to convert the touch events. Would it be best to do something like check device type and then scale the touch events based on what device is active? Also, I did not know Apple would reject ipad apps that were essentially a universal binary. Is this stated somewhere in their documentation?
Yes the iphone approval guidelines state that ipad applications that are released as distinct ones need to differ.
As for the touch handling: Do you have code in place that potentially can be replaced with “procentual code” in which case you would device the position by the full screen size to get a position value from 0 to 1 independent of the resolution