当我在 cocos2d 场景初始化中向 openGLView 添加子视图时,会显示闪烁
-(id) init
{
if( (self=[super init])) {
_overlay = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 1024, 768)];
self.overlay.alpha = 0.6f;
[[[CCDirector sharedDirector] openGLView] addSubview:_overlay];
....
}
有谁知道如何避免它?