iOS : How to run the app in background

Hey @vignesh.9884843620,

Thanks for using the dev forum!

You must add in background modes for your application

Then you have to call the MobileRTCAppDelegate functions within your AppDelegate:

- (void)applicationWillResignActive:(UIApplication *)application
{
    [[MobileRTC sharedRTC] appWillResignActive];
}

- (void)applicationDidEnterBackground:(UIApplication *)application
{
    [[MobileRTC sharedRTC] appDidEnterBackgroud];
}

- (void)applicationDidBecomeActive:(UIApplication *)application
{
    [[MobileRTC sharedRTC] appDidBecomeActive];
}

- (void)applicationWillTerminate:(UIApplication *)application
{
    [[MobileRTC sharedRTC] appWillTerminate];
}

Thanks!
Michael