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

Fix masking in iOS 14 #667

Merged
merged 1 commit into from
Sep 7, 2020
Merged

Fix masking in iOS 14 #667

merged 1 commit into from
Sep 7, 2020

Conversation

esilverberg
Copy link
Contributor

@esilverberg esilverberg commented Aug 28, 2020

PhotoBubbleView cells no longer render images properly if you attempt to run in the iOS 14 simulator on Xcode 12. This is caused by this issue here:

https://developer.apple.com/forums/thread/656554

This has to do with the way that masks are applied to PhotoBubbleView cells.

I have implemented a fix by creating an extension on UIImageView. I attempted to follow the existing pattern established by the project. In so doing, I needed to update the Podfile in the sample app to get it to compile. However, this is a short change and the meat of it is in the UIImageView+Additions.swift file.

@codecov-commenter
Copy link

codecov-commenter commented Aug 28, 2020

Codecov Report

Merging #667 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #667   +/-   ##
=======================================
  Coverage   73.38%   73.38%           
=======================================
  Files          19       19           
  Lines        1236     1236           
=======================================
  Hits          907      907           
  Misses        329      329           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c8aeb4d...b3840d1. Read the comment docs.

@wiruzx wiruzx self-requested a review September 1, 2020 23:59
@wiruzx
Copy link
Contributor

wiruzx commented Sep 7, 2020

Hey @esilverberg,
Thank you for the contribution!

@wiruzx wiruzx merged commit fa65b3d into badoo:master Sep 7, 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.

3 participants