diff --git a/iOS.md b/iOS.md index b0f7e24..e248c75 100644 --- a/iOS.md +++ b/iOS.md @@ -16,7 +16,7 @@ Use `gomobile bind`, generate an .framework file and import this to your Xcode a ## Implement Objective-C classes -The below implementation implements a GLKView class and its Renderer class. When the view's `glkView:drawInRect:` is called, the size of view is calculated and the game starts if the game doesn't start yet. +The below implementation implements a GLKView class and its Renderer class. When the view's `viewDidLayoutSubviews` is called, the size of view is calculated and the game starts if the game doesn't start yet. For an actual example, see [go-inovation's ViewController.m](https://github.com/hajimehoshi/go-inovation/blob/master/mobile/ios/goinovation/ViewController.m).