Bug 25736 - UIScreen.MainScreen.CurrentMode.Size returns incorrect screen size on iPhone 6
Summary: UIScreen.MainScreen.CurrentMode.Size returns incorrect screen size on iPhone 6
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: XI 8.6.0
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
Depends on:
Reported: 2015-01-06 05:26 UTC by Prashant Cholachagudda
Modified: 2015-01-06 05:49 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Prashant Cholachagudda 2015-01-06 05:26:47 UTC
UIScreen.MainScreen.CurrentMode.Size in Xamarin.iOS returns incorrect screen size compared to Objective C

## Xamarin.iOS : 630x1136
<UIScreen: 0x7c4faf60; bounds = {{0, 0}, {320, 568}}; mode = <UIScreenMode: 0x7c4c8120; size = 640.000000 x 1136.000000>>

## Objectice-C: 750x1334 (Expected)
<UIScreen: 0x7ffcc940; bounds = {{0, 0}, {375, 667}}; mode = <UIScreenMode: 0x7ffcc961; size = 750.000000 x 1334.000000>>
Comment 1 Rolf Bjarne Kvinge [MSFT] 2015-01-06 05:49:37 UTC
You're missing a Default-568h@2x.png splash screen image.

See: http://stackoverflow.com/a/12404936/183422