I am getting an error saying expected unqualified-id
I am trying to set up chartboost and when I set it up, This happend and I dont know how to fix it.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
{ //-----The error is here.
if(runApp == nil)
return;
if (runApp->run!=nil)
{
[runApp->run resume];
AudioSessionSetActive(true);
[runApp->ALPlayer resetSources];
if (runApp->iOSObject!=nil)
{
[runApp->run callEventExtension:runApp->iOSObject withCode:1 andParam:0];
}
}
[runViewController->runView resumeTimer];
int eventCount = [eventSubscribers size];
for(int i=0; i<eventCount; ++i)
{
id<UIApplicationDelegate> dlgobj = (id<UIApplicationDelegate>)[eventSubscribers get:i];
if([dlgobj respondsToSelector:@selector(applicationDidBecomeActive:)])
[dlgobj applicationDidBecomeActive:application];
}
}
-(void)applicationWillTerminate:(UIApplication *)application
{
|
Thanks in advance! :)
This is objective C, not C/C++. I doubt that you find ObjC experts here
wow lol sorry
Topic archived. No new replies allowed.