Kureev / react-native-blur

React Native Blur component
MIT License
3.77k stars 557 forks source link

Is it possible to set tintColor #35

Closed kinhunt closed 8 years ago

kinhunt commented 8 years ago

It would be cool to be able to add tintColor to the UIVisualEffectView. Any chance?

something like this

http://i.stack.imgur.com/FUJuH.png

AlexGustafsson commented 8 years ago

I've done this in the past by having a colored semi-transparent element showing over the blurred element. It works well. But of course, a built in way to achieve it would be really appreciated.

Kureev commented 8 years ago

Unfortunately, Apple doesn't provide any config for it. It's possible using OpenGL, but this component relying on native Apple implementation.