PiXeL16/RevealingSplashView

Color icon doesn't work

lancevalour opened this issue · 2 comments

If I use the color icon instead of the white icon, the splashview will change the icon to white and splash.

Is it a bug or feature?

Below is the code I use.

let revealingSplashView = RevealingSplashView(iconImage: UIImage(named: "color_icon")!, iconInitialSize: CGSizeMake(60, 60),backgroundColor: MaterialColor.grey.lighten5)

Its definitely not a intented feature. I will try to check tonight to see whats up.
Thanks!

@lancevalour Just remember that I added a iconColor property. If you don't set it it will default to white.
So, for example, you can do:

 revealingSplashView.iconColor = UIColor.blueColor()

This will change the icon color to blue, the example it will look like this:
screen shot 2016-07-19 at 10 23 06 pm

Let me know if it works. Closing for now.