iOS アプリケーション内で GPUImageView を使用しています。GPUImageView の背景を透明にしたい。setBackground:[UIColor clearColor] を試してみましたがうまくいきません。回避策はありますか?
よろしく
透明な背景を得るには、これらの両方を設定する必要があることがわかりました。どちらも単独では機能しません。
strengthPreviewImageView.backgroundColor = [UIColor clearColor];
[strengthPreviewImageView setBackgroundColorRed:0 green:0 blue:0 alpha:0];
... GPUImageView ヘッダーのメソッドは試しましたか?
- (void)setBackgroundColorRed:(GLfloat)redComponent green:(GLfloat)greenComponent blue:(GLfloat)blueComponent alpha:(GLfloat)alphaComponent;