thiagoperes / IDMPhotoBrowser

Photo Browser / Viewer inspired by Facebook's and Tweetbot's with ARC support, swipe-to-dismiss, image progress and more
MIT License
2.71k stars 641 forks source link

change share button color. #238

Closed heisen273 closed 6 years ago

heisen273 commented 7 years ago

I am looking for any way to access and edit default IDMPhotoBrowser share button, but I cannot understand how to do that. Is the only way to modify default share button state is creating my own?

If anyone has knowledge, – please share it with me. Thanks

rogomantik commented 7 years ago

you can use browser.view.tintColor = UIColor.red seems to change only the share button tint

heisen273 commented 6 years ago

thanks, @rogomantik , it actually did worked. one hint for other devs, on how you should actually use browser.view.tintColor = UIColor.red: place it in didShowPhotoAt delegate, otherwise you might end up with doubling your image captions.