title: How to Show Contact is Selected in ios
body: <p>I am working on an Address book and now i want to Show that the contact i have select in Addressbook it should appear in  blue color ... </p>
  
  <pre><code>AS LIKE IN IPHONE WE CAN SEE ...
  </code></pre>
  
  <p>For that i have done this much coding ...</p>
  
  <pre><code> ABRecordRef person = NULL;
      NSString *name = nil;
      if(gPerson == NULL)
      {
          person = ABPersonCreate();
          name = strReceiversNames;
      }
      else
      {
          person = gPerson;
          NSString *fName = (NSString*)ABRecordCopyValue(gPerson, kABPersonFirstNameProperty);
          NSString *lName = (NSString*)ABRecordCopyValue(gPerson, kABPersonLastNameProperty);
          name = [NSString stringWithFormat:@"%@ %@", fName, lName];
      }
  
      CFErrorRef  error = NULL;
  
      //UILabel *ContectInfo;
  //  ContectInfo.text = strPhoneNumber;
  //  ContectInfo.textColor = [UIColor greenColor];
      // set name
      ABRecordSetValue(person, kABPersonFirstNameProperty, (CFStringRef)name, &amp;error);
  
      // set phone number
      ABMutableMultiValueRef phoneNumber = ABMultiValueCreateMutable(kABMultiStringPropertyType);
      ABMultiValueAddValueAndLabel(phoneNumber, (CFStringRef)strPhoneNumber, kABPersonPhoneMobileLabel,NULL);
      ABRecordSetValue(person, kABPersonPhoneProperty, phoneNumber, &amp;error);
      CFRelease(phoneNumber);
  
      if(error != NULL) 
      {
          NSLog(@"Error: %@", error);
      }
  
      ABPersonViewController *ctrl = [[ABPersonViewController alloc] init];
  </code></pre>
  
  <p>In this strPhoneNumber is my Contact number .. 
  I just want to show it as blue color while i click on button ....</p>
  
  <p>strPhoneNumber is NSString ..</p>
  
  <p>Thanks in advance </p>