add multiple touches toggle to iOS.

This commit is contained in:
Jacky 2015-01-23 15:09:13 +08:00
parent e423babd64
commit da76cfdc79
1 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,9 @@ static AppDelegate s_sharedApplication;
multiSampling: NO
numberOfSamples: 0 ];
// Enable or disable multiple touches
[eaglView setMultipleTouchEnabled:NO];
// Use RootViewController manage CCEAGLView
_viewController = [[RootViewController alloc] initWithNibName:nil bundle:nil];
_viewController.wantsFullScreenLayout = YES;