Bug 8980 - Cannot hide disclosure indicator in ABPeoplePickerNavigationController
Summary: Cannot hide disclosure indicator in ABPeoplePickerNavigationController
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 6.1.x
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-12-17 06:37 UTC by Yiannis
Modified: 2012-12-20 08:40 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
peoplepicker.png (22.70 KB, image/png)
2012-12-17 06:38 UTC, Yiannis
Details
peoplepickersearch.png (18.90 KB, image/png)
2012-12-17 06:38 UTC, Yiannis
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Yiannis 2012-12-17 06:37:30 UTC
When displaying a ABPeoplePickerNavigationController, a disclosure indicator is not visible on the right of the contact (attached peoplepicker.png). I think that this is a normal behavior.
However, when searching for a contact using the search function on top of the ABPeoplePickerNavigationController, a disclosure indicator appears (attached peoplepickersearch.png). Can I hide this indicator?

I tried to find the peoplePickerDelegate property, to return false in the peoplePickerNavigationController:shouldContinueAfterSelectingPerson, but it looks that it is not implemented in the ABPeoplePickerNavigationController.

I do not know if this is a bug or not, because I do not know how it works in objective c, but logically, if a disclosure indicator is not visible in the list, it should also not be visible when searching the contacts list.
Comment 1 Yiannis 2012-12-17 06:38:25 UTC
Created attachment 3101 [details]
peoplepicker.png
Comment 2 Yiannis 2012-12-17 06:38:53 UTC
Created attachment 3102 [details]
peoplepickersearch.png
Comment 3 Sebastien Pouliot 2012-12-20 08:40:23 UTC
`peoplePickerDelegate` is part of MonoTouch's ABPeoplePickerNavigationController. Like most delegate in MonoTouch it's simply named `Delegate` (for the strongly typed version) and `WeakDelegate` (loosely typed version).

That will let you assign a ABPeoplePickerNavigationControllerDelegate, which implements `peoplePickerNavigationController:shouldContinueAfterSelectingPerson:`(named `ShouldContinue`).

If this does not resolve your issue then please re-open the bug and attach a test case so we can have a look where the issue could be.