Is it possible that we can display things other than images inside the alert?
konekoya opened this issue · comments
Hi @ivanvorobei
I'm trying to use this SPAlert to display a loading indicator, but for now, it only accepts a couple of default presets and a custom UIImage
. Is there any changes that we could pass something like
CAShapeLayer
in it? For example https://github.com/relatedcode/ProgressHUD/blob/master/ProgressHUD/Sources/ProgressHUD.swift#L743-L785
I know I can probably address this with a custom loading image. But with so many different screen resolutions, I'm not sure if it's a good idea to go about :(
Thanks for creating and publishing OSS like this :)
Hello!
If need, I can add indicator preset
If need, I can add indicator preset
That would be really cool 👍 Can't wait to see that!
Sorry for big delay. New feature added in 3.5.0
version, called preset .spinner
. Check readme for me details please.