I create a GLKViewController as follows:
// Create a GLK View Controller to handle animation timings _glkVC = [[GLKViewController alloc] initWithNibName:nil bundle:nil]; _glkVC.preferredFramesPerSecond = 60; _glkVC.view = self.glkView; _glkVC.delegate = self; _glkVC.paused = YES; NSLog(@"initial state: %@", _glkVC.paused ? @"paused" : @"running");
but immediately starts calling the delegate update method, and the output from NSLog higher: initial state: running
I manage my view updates with setNeedsDisplay , but I want the GLKViewController process animations from time to time, so I want it to be disabled only when necessary. Is there a way to start the controller in pause state?
source share