Skip to content

iPad popoverPresentation fix#294

Open
A-G91 wants to merge 1 commit intotilltue:masterfrom
A-G91:safe-area-fix
Open

iPad popoverPresentation fix#294
A-G91 wants to merge 1 commit intotilltue:masterfrom
A-G91:safe-area-fix

Conversation

@A-G91
Copy link
Copy Markdown

@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