Frage

here is my code:

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

the problem is: If I call this code the window is going shortly transparent. After this very short time the window comes back with the view loaded. It looks like a flash.

This only happens if editBackgroundControllers view has a IKImageView as one subview. Any ideas?

Thank you

War es hilfreich?

Lösung

here my solution to this problem: on some views the 'Core Animation Layer' in IB was 'on'.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top