title: How to replace UIRemoteNotificationTypeVoip method with setKeepAliveTimeout method?
body: <p>In my XCode project, i have used <code>setKeepAliveTimeout</code> method in <code>applicationDidEnterBackground</code> method like below code.</p>
  
  <pre><code>- (void)applicationDidEnterBackground:(UIApplication *)application
  {
      // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 
      // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
      [self performSelectorOnMainThread:@selector(keepAlive) withObject:nil waitUntilDone:YES];
  
      [application setKeepAliveTimeout:600 handler: ^{
      [self performSelectorOnMainThread:@selector(keepAlive) withObject:nil waitUntilDone:YES];
      }];
  }
  </code></pre>
  
  <p>It shows that <code>setKeepAliveTimeout</code> method is deprecated and they wants to use <code>UIRemoteNotificationTypeVoip</code> method.</p>
  
  <p>I searched for <code>UIRemoteNotificationTypeVoip</code> method, but not enough results are given. Even <code>developer.apple.com</code> doesn't have documentation for that method. </p>
  
  <p><strong>Problem:</strong> How to change <code>UIRemoteNotificationTypeVoip</code> where <code>setKeepAliveTimeout</code> is used?</p>
  
  <p>If anyone knows, then give me an answer.</p>
  
  <p>Thanks in Advance!</p>