0
以下有關GLKViewController
一個例子,我實現了類似下面的爲什麼GLKViewControllerDelegate沒有更新?
- (void)update
{
}
更新回調,但我查源,貌似沒有定義更新的消息,爲什麼我可以使用更新?
@protocol GLKViewDelegate <NSObject>
@required
/*
Required method for implementing GLKViewDelegate. This draw method variant should be used when not subclassing GLKView.
This method will not be called if the GLKView object has been subclassed and implements -(void)drawRect:(CGRect)rect.
*/
- (void)glkView:(GLKView *)view drawInRect:(CGRect)rect;
@end