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

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dj-technohead
Copy link

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