Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue where iPhone with 5.5 inch display is not detected and deviceSize returns UnknownSize. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

constantine-fry
Copy link

@constantine-fry constantine-fry changed the title Use physical screen in pixels for iphone 5.5 inch. Fix issue where iPhone with 5.5 inch display is not detected and deviceSize returns UnknownSize. Nov 28, 2018
@cguess
Copy link
Owner

cguess commented Nov 28, 2018

Thanks! I'm going to test this ASAP and merge if all looks good.

@cguess
Copy link
Owner

cguess commented Nov 28, 2018

Have you tested this on an actual device? I don't have a plus available to me, but 2208 seems to be the right value according to the simulator.

@constantine-fry
Copy link
Author

Hi, Sorry for the late response. I seems to be an expected behaviour:

https://twitter.com/olebegemann/status/514359847731871744

@cguess
Copy link
Owner

cguess commented Jan 7, 2019

Hrm... any chance you have a real device to test on though?

@cguess
Copy link
Owner

cguess commented Jan 7, 2019

Sorry, i'd just like to prove it before approval, otherwise things can go quickly sideways :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants