I am using a GPUImageView inside my iOS application. I want that the GPUImageView have a transparent background. I tried setBackground:[UIColor clearColor] It does not work. Any workarounds?
Regards
I found you need to set both of these to get a transparent background. Neither works alone.
strengthPreviewImageView.backgroundColor = [UIColor clearColor];
[strengthPreviewImageView setBackgroundColorRed:0 green:0 blue:0 alpha:0];
...Did you try the method from the GPUImageView header?
- (void)setBackgroundColorRed:(GLfloat)redComponent green:(GLfloat)greenComponent blue:(GLfloat)blueComponent alpha:(GLfloat)alphaComponent;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With