Skip to content

Handle iPhone 4s and possibly iPad2/3 without checking hardware strings - #5

Open
dj-technohead wants to merge 2 commits into
GoranHalvarsson:masterfrom
dj-technohead:master
Open

Handle iPhone 4s and possibly iPad2/3 without checking hardware strings#5
dj-technohead wants to merge 2 commits into
GoranHalvarsson:masterfrom
dj-technohead:master

Conversation

@dj-technohead

Copy link
Copy Markdown

Added checks to handle device type (ipad vs iphone via UIUserInterfaceIdiom) and whether screen is retina or not, and then use these facts to scale picFrame.

…hone resolution

Previously bar code recognition did not work on iPhone 4s as code
checked only for iPhone 4. Reimplemented this code to be iPhone
hardware agnostic, only checks if device is iPhone or iPad and if has
retina display or not. iPad constants probably need to be modified as I
don't have an iPad to test with.
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.

1 participant