title: Multipeer lost and found
body: <p>I have an app I'm working on where I'm using the Multipeer Framework to send data between some iPads. I'm setting up the session using the MCBrowserViewController and ConnectionViewController, all as per Apple's examples.</p>
  
  <p>This works pretty good and I can send my data across, both ways.</p>
  
  <p>However, if one of the devices loose the connection I don;'t seem to be able to reconnect again when it's found.</p>
  
  <p>Using MCNearbyServices like Advertiser and Browser doesn't seem to do anything. LostPeer and FoundPeer does never get called. I have both delegates (Advertiser and Browser) in my MCManager class. Surely I should be able to reconnect automatically when they are back in range or the app is running again?</p>
  
  <p>I've tried this after @bradenm suggestion...</p>
  
  <pre><code>    -(void)reconnect
  {
      _myPeerID = [[MCPeerID alloc]initWithDisplayName:[UIDevice currentDevice].name];
  
      _nearbyAdvertiser = [[MCNearbyServiceAdvertiser alloc]
                           initWithPeer:_myPeerID
                           discoveryInfo:nil
                           serviceType:kServiceType];
  
      _nearbyAdvertiser.delegate = self;
      _nearbyBrowser.delegate = self;
  
      [self setAdvertising:YES];
      [self setBrowsing:YES];
  
  }
  </code></pre>
  
  <p>But I don't get any of the other methods called (foundPeer and so on)</p>