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

iPhone X Support #282

Merged
merged 1 commit into from
Mar 5, 2018
Merged

Conversation

oliveroneill
Copy link
Contributor

I realise #279 has somewhat fixed this issue, however the pull request didn't account for the bottom edge or landscape orientation. I've fixed the positioning of the done button, the toolbar and the photo so that they're positioned correctly on iPhone X and other models. This also required some minor changes to the animation when presenting the photo browser.

I've also added tests for the safe area calculations.

@oliveroneill oliveroneill force-pushed the iphone_x_support branch 2 times, most recently from be10bd0 to 5e69d89 Compare December 3, 2017 04:19
Safe areas are calculated for toolbar, done button and photo frame.
This accounts for orientation and fall back for pre-iOS 11 devices.
@thiagoperes thiagoperes merged commit 8fdff1c into thiagoperes:master Mar 5, 2018
@oliveroneill oliveroneill deleted the iphone_x_support branch March 5, 2018 20:32
result0924 added a commit to result0924/IDMPhotoBrowser that referenced this pull request Apr 26, 2018
@chris-hut chris-hut mentioned this pull request Jun 18, 2018
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