Skip to content

Replace close button image with xmark SF Symbol in iOS 13#385

Closed
skjiisa wants to merge 1 commit into
zvonicek:masterfrom
skjiisa:master
Closed

Replace close button image with xmark SF Symbol in iOS 13#385
skjiisa wants to merge 1 commit into
zvonicek:masterfrom
skjiisa:master

Conversation

@skjiisa

@skjiisa skjiisa commented Jun 18, 2020

Copy link
Copy Markdown

For #362

If cloning the repository using Swift Package Manager, the close button image is not downloaded. This replaces the button's image with the xmark SF Symbol if the device is running iOS 13 or newer.

@pcmanik

pcmanik commented Aug 11, 2020

Copy link
Copy Markdown

@zvonicek Can you please merge this?

@zvonicek

Copy link
Copy Markdown
Owner

I'm actually unsure about this, mainly because the SF Symbol asset would work on iOS 13 only and the not presence of the image might not be noticed by some users of the library, leading to shipping a broken behavior on older operating systems.

However, with this year's SPM improvements we should finally be able to bundle resources in a package. I think this is a better way forward.

thisisaaronland pushed a commit to sfomuseum/ImageSlideshow that referenced this pull request Aug 13, 2020
@zvonicek

zvonicek commented Dec 5, 2020

Copy link
Copy Markdown
Owner

Support for SPM bundle resources comes in #400.

@zvonicek zvonicek closed this Dec 5, 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