Forum Xamarin Xamarin.iOS

How can i get correct UIScreen.MainScreen.Bounds?

XiaoYipengXiaoYipeng USMember ✭✭
edited April 2017 in Xamarin.iOS

I use my iphone6s debug, UIScreen.MainScreen.Bounds is not 357*667, It's iphone5/5s Resolution.
And it's correct when i debug on simulator iphone6s.



  • XiaoYipengXiaoYipeng USMember ✭✭
    edited April 2017

    I can't set 750-1334 and 1242-2208 resolution image as launch image

  • XiaoYipengXiaoYipeng USMember ✭✭

    I learned that if i don't set right launch image so that i cann't get correct UIScreen.MainScreen.Bounds.
    So the question is how can i set the 7501334 and 12422208 pixels image as iphone6/6s and iphone6 plus/iphone6s plus device.

  • XiaoYipengXiaoYipeng USMember ✭✭

    My develop environment is VS2015 and xamarin.ios10.2, My iphone6s os version is ios10.2.1

  • XiaoYipengXiaoYipeng USMember ✭✭

    The UIScreen.MainScreen.NativeBounds is right

Sign In or Register to comment.