I'm using SDWebImage
and I would like to add a loading indicator. I found the UIActivityIndicator-for-SDWebImage
library, and I have tried to add it to my Swift project by adding this:
#import "UIImageView+UIActivityIndicatorForSDWebImage.h"
to my bridging header. For some reason I still can't access the extra parameter usingActivityIndicatorStyle
when setting image URLs.
Anyone have any idea what I'm doing wrong? I've tried removing the .m and .h files and re-adding them, but it didn't help.