custom behaviour to iphone addressbook ui controller

is there any way to customize the ABPeoplePickerNavigationController and let user select multiple contacts without going into details? I can push contacts into an array as user selects them but there's no way to give visual feedback back to user that he/she selected the contacts he clicked (or unselect them on second click). I don't want to roll my own AB just for this simple feature. As a workaround, can I display a custom modal view on top of Iphone AB UI?

Answers


you can used abcontact class.

    NSArray *collection = (aTableView == tableView) ? self.contacts : self.filteredArray;
    ABContact *contact = [collection objectAtIndex:indexPath.row];
   cell.textLabel.text = contact.contactName;
   cell.detailTextLabel.text=contact.phonenumbers;
   cell.selectionStyle=UITableViewCellSelectionStyleGray;

and on didselect row do this:

- (void)tableView:(UITableView *)aTableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{   

    NSArray *collection = (aTableView == self.tableView) ? self.contacts : self.filteredArray;
    ABContact *contact = [collection objectAtIndex:indexPath.row];
}

Need Your Help

Conversion between Euler <=> Quaternion like in Unity3d engine

c# math unity3d quaternions euler-angles

I've used two examples (from this site too), but results are not the same as those that said Unity.

How can I position a modal box out of the browser in HTML?

html css browser popup css-position

I want to position a modal box (position: absolute) out of browser, but I can't get it work.