Bug 6305 - Missing ABCreateStringWithAddressDictionary binding
Summary: Missing ABCreateStringWithAddressDictionary binding
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 5.3.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Sebastien Pouliot
URL:
Depends on:
Blocks:
 
Reported: 2012-07-26 22:46 UTC by Brad Moore
Modified: 2013-05-27 02:17 UTC (History)
4 users (show)

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

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 Brad Moore 2012-07-26 22:46:46 UTC
Cant seem to find the bindings for ABCreateStringWithAddressDictionary.

http://developer.apple.com/library/ios/#DOCUMENTATION/AddressBookUI/Reference/AddressBookUI_Functions/Reference/reference.html#//apple_ref/c/func/ABCreateStringWithAddressDictionary

Docs say that it is in the AddressBookUI/AddressBookUI.h framework and declared in ABAddressFormatting.h. But can't seem to find it in MonoTouch 5.3.5.
Comment 1 Sebastien Pouliot 2012-07-27 10:00:05 UTC
You're right, it's presently missing from our bindings. Thanks for reporting this.

It should be simple to p/invoke manually (since it's not an objc API) and add to an existing application in case this is blocking you.
Comment 2 Sebastien Pouliot 2012-08-14 11:53:44 UTC
Fixed (it should be available in MonoTouch 5.4.1)

master: d6e948f791f54c35898df444c17d214fdca83c3e
monotouch-5.4-series: d370b3f08d044944eba1fc9c87f39b6cbd5627d7

QA: unit tests added in both branches
Comment 3 Jeffrey Stedfast 2012-11-12 16:43:18 UTC
*** Bug 6003 has been marked as a duplicate of this bug. ***
Comment 4 Edwin Klesman 2013-05-27 02:17:25 UTC
Handy to notice that this can be addressed as a ToString on ABAddressFormatting:

ABAddressFormatting.ToString(NSDictionary address, bool addCountryName);