unsplash / unsplash-photopicker-ios

📱An iOS photo picker to search and download photos from Unsplash.
MIT License
406 stars 85 forks source link

Fix incorrect display of UIActivityIndicatorView when dark theme in iOS 13 #23

Closed lisindima closed 4 years ago

lisindima commented 4 years ago

UIActivityIndicatorView has a new style in iOS 13, if you use the old style (style: .gray) in iOS 13 when switching to a dark theme, the spinner will be very poorly visible. I propose using it in iOS 13 (style: .medium), and in all other cases (style: .gray).

Sorry, I had to create another pull request, I forgot to highlight all the changes in another branch)