Transparent GPUImageView?

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

+7
source share
2 answers

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]; 
+10
source

... Have you tried the method from the GPUImageView header?

 - (void)setBackgroundColorRed:(GLfloat)redComponent green:(GLfloat)greenComponent blue:(GLfloat)blueComponent alpha:(GLfloat)alphaComponent; 
+3
source

All Articles