Game Development Reference
In-Depth Information
5. Go to the General tab, uncheck Portrait from the device orientation so that the
final orientation is landscape.
6. Cut the code of typecasting UIView to SKView and presenting FSMyScene to
SKView from (void)viewDidLoad of FSViewController .
7. Implement - (void)viewWillLayoutSubviews and copy the code from
viewDidLoad to viewWillLayoutSubviews .
8. Finally, the code will look like this:
Search WWH ::




Custom Search