2014-01-15 43 views
0

这里是我的代码:窗口短时间消失在的setContentView

- (void)showEditBackground 
{ 
    editBackgroundController = [[EditBackgroundVC alloc] initWithNibName:@"BackgroundVC" bundle:nil]; 
    [window setContentView:editBackgroundController.view]; 
} 

的问题是: 如果我把这个代码窗口会很快透明。 经过这段时间之后,窗口返回并载入视图。 它看起来像一个闪光灯。

只有在editBackgroundControllers视图具有IKImageView作为一个子视图时才会发生这种情况。 任何想法?

谢谢

回答

0

这里我解决了这个问题: 一些意见IB“核心动画层”是“上”。

相关问题