deselectRowAtIndexPath on an ABPeoplePickerNavigationController

Posted by Josh Wright on Stack Overflow See other posts from Stack Overflow or by Josh Wright
Published on 2009-08-21T23:37:52Z Indexed on 2010/04/08 10:03 UTC
Read the original article Hit count: 358

Filed under:
|
|

I'm showing an ABPeoplePickerNavigationController as a tab in my app. The user clicks a name, then email address, then I do something with the email address.

Afterwards, I'd like for the person and property that they selected to fade out (not be highlighted).

In a normal table, I'd call deselectRowAtIndexPath. But with the ABPeoplePickerNavCont I don't seem to have access to it's table, nor do I know what indexPath is selected, nor is there an api for deselecting the row.

On most apps, ABPeoplePickerNavCont is used modally so it doesn't matter that the row is still highlighted 'cause the whole thing gets dismissed. But in my app it does not get dismissed (just like the contacts tab in the Phone app).

Any ideas?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about addressbook