ios - Change UIVisualEffectView Colour Beyond Light/Dark? -
is possible change colour of uivisualeffectview
beyond standard light, light , dark?
i need achieve shade between of light , dark presets.
if want similar uivisualeffectview
more control, recommend taking @ apple's uiimageeffects
sample code.
you can find @ ios developer library : blurring , tinting image
here's method may of interest :
+ (uiimage*)imagebyapplyingblurtoimage:(uiimage*)inputimage withradius:(cgfloat)blurradius tintcolor:(uicolor *)tintcolor saturationdeltafactor:(cgfloat)saturationdeltafactor maskimage:(uiimage *)maskimage
notice tintcolor
, saturationdeltafactor
params.
Comments
Post a Comment