title: Working with background in ios
body: <p>I have developed socket.IO for iOS Application . When app is running, app can send and receive http socket data without any problem . </p>
  
  <p>All i want to do , I want to get messages when app get in background. </p>
  
  <p>I think <code>appdelegate.h</code> 's delegate method :</p>
  
  <pre><code>- (void)applicationDidEnterBackground:(UIApplication *)application
  </code></pre>
  
  <p>works for it . But how can i implement my function in that scope ?</p>