I used to play games with GLKView and GLKViewController drawing,
They are now found on IOS5 unique, IOS4 no,
Had replaced UIView and UIViewController, manage their own CEAEGLLayer,
Previously GLKViewController provides drawInRect let me be drawn per frame,
Now no drawInRect, how can I draw it frame by frame?
UIViewController have repeatedly invoked the callback function?
I can not open a thread dedicated frame draw it?
Reply:
To find a solution, with NSTimer
Reply:
Also do animation using UIImage
Reply:
There are in UIView drawRect: method. Here you can get the graphics drawing context CGContextRef, to handle your drawing operations
No comments:
Post a Comment