开发者

iPhone app external display window zooms in/out when running on iPad

开发者 https://www.devze.com 2023-01-31 00:05 出处:网络
We\'re writing an iPhone app that supports an external display via the 30-pin-connector-to-VGA ada开发者_Go百科pter when used on the iPhone 4 or iPad. It is not a universal app. My problem is: when th

We're writing an iPhone app that supports an external display via the 30-pin-connector-to-VGA ada开发者_Go百科pter when used on the iPhone 4 or iPad. It is not a universal app. My problem is: when the app is running on the iPad and the user zooms the app to fill the screen, whatever is displaying on the external display also doubles in size. I would like to have the external display not change scale when the user presses the zoom in/out button on the iPad.

Does anyone know of a way to tell if an iPhone app is zoomed in/out on the iPad?

Can you get the size of the window/view being displayed on the iPad that compensates for the iPhone app's current scale?


When you run an iPhone native application on the iPad it's executed in a kind of simulator. The double size is managed by this system and is virtual. Nothing can mesure this on the iphone app.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号