I am using GPUImageView inside my iOS application. I want the GPUImageView to have a transparent background. I tried setBackground: [UIColor clearColor] This does not work. Any workarounds?
Hi
I found that you need to set both of them to get a transparent background. None of them work.
strengthPreviewImageView.backgroundColor = [UIColor clearColor]; [strengthPreviewImageView setBackgroundColorRed:0 green:0 blue:0 alpha:0];
... Have you tried the method from the GPUImageView header?
- (void)setBackgroundColorRed:(GLfloat)redComponent green:(GLfloat)greenComponent blue:(GLfloat)blueComponent alpha:(GLfloat)alphaComponent;