Skip to content

Conversation

@asabhaney
Copy link

@asabhaney asabhaney commented May 26, 2022

This PR addresses an important issue where sharing image data derived from a UIImage will encounter a fatal error (Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value imageUrl.absoulteString). The reason for this issue is that there is an erroneous reference to imageUrl.absoluteString, whereas it should be imageURL.absoluteString since imageURL is the actual NSURL instance. This PR gets rid of the extra imageURL var to reduce confusion between that and imageUrl.

@asabhaney asabhaney changed the title Fix imageUrl references in extractDataFromContext Fix: Sharing an image results in a fatal error May 27, 2022
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