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

iPad popoverPresentation fix #294

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

iPad popoverPresentation fix #294

wants to merge 1 commit into from

Conversation

A-G91
Copy link

@A-G91 A-G91 commented Oct 26, 2020

changed collectionView leading and trailing constraints from superView to safeArea in TLPhotosPickerViewController.xib.
changed 'initItemSize()' to account for leading and trailing safe area.

Reasoning: On iPad, when presenting modally using 'modalPresentationStyle = .popover', the collection view would extend to the anchor and cut off part of the cells in the last column.

…w to safeArea. changed 'initItemSize()' to account for leading and trailing safe area'
@A-G91 A-G91 closed this Oct 26, 2020
@A-G91 A-G91 deleted the safe-area-fix branch October 26, 2020 19:17
@A-G91 A-G91 restored the safe-area-fix branch October 26, 2020 19:18
@A-G91 A-G91 reopened this Oct 26, 2020
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