title: How to display the supported services of Bluetooth in tableview from devicename(UITableViewCell)?
body: <p>I'm developing Bluetooth app.I have a name of available Bluetooth device in Table View..If press a device means i want to know all the supported services UUID name in another view controller with Table view.Give me an Idea.</p>
  
  <p>1)Peripheralmanager (NSObject)</p>
  
  <p>2)FirstViewController (In this I have a Device Name)</p>
  
  <p>3)SecondViewController (In this I want Supported Services)</p>
  
  <p>Peripheralmanager.m</p>
  
  <pre><code>- (void)centralManager:(CBCentralManager *)central 
  didDiscoverPeripheral:(CBPeripheral *)peripheral 
   advertisementData:(NSDictionary *)advertisementData 
                RSSI:(NSNumber *)RSSI
  {
  
      NSLog(@"didDiscoverPeriphera.peripheral: %@ rssi: %@, UUID:%@ advertisementData:%@", peripheral,RSSI,peripheral.UUID, [advertisementData description]);
  
     targetPeripheral = peripheral;
     peripheral.delegate = self;
  if (!peripheral.isConnected)
  {
     [centralManager connectPeripheral:peripheral options:nil];
  }
  </code></pre>
  
  <p>}</p>
  
  <p>FirstViewController.m</p>
  
  <pre><code>- (void)peripheralManagerDidConnectPeripheral:(PeripheralManager *)peripheral
  {
     NSLog(@"%@",peripheral.deviceName);
     NSLog(@"%@",peripheral.rssi);
     [device addObject:[NSString stringWithFormat:@"%@",peripheral.deviceName]];  
     [self.deviceTable reloadData];
  }
  </code></pre>
  
  <p>Tableview</p>
  
  <pre><code>-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
     static NSString *simpleTableIdentifier=@"Cell";
  
     UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:simpleTableIdentifier];
     if(cell==nil)
  {
     cell =[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:simpleTableIdentifier];
  }
     cell.textLabel.text=[device objectAtIndex:indexPath.row];
     return cell;
  }
  
  -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
  {
  
  
  }
  </code></pre>
  
  <p>If you want more information Please Ask me.</p>
  
  <p>Please Check this Link <a href="https://itunes.apple.com/us/app/lightblue/id557428110?mt=8&amp;ign-mpt=uo=4" rel="nofollow noreferrer">sample Itunes app</a></p>
  
  <p>image
  <img src="https://i.stack.imgur.com/ohb4f.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/0zWep.png" alt="enter image description here"></p>