On 29 Apr 2011, at 5:03 PM, Fluffy D. Bunny wrote:

> I just inherited a new iphone app that is being used internationally.
> This app has an issue where non-us users are unable to click on
> numbers in the app and have them dial. The numbers are formatted such
> as +44 00 00 0000 etc. It takes the number strips the spaces,
> formatting and plus sign ans send it out in url (tel:) format to be dialed.
> It only works in the us though.
> 
> My question is how are others dialing number world-wide? Any pointers
> or info would be greatly appreciated. Also would love to know if there
> any kits, blocks etc that handle this.

Looking at the document "Apple URL Scheme Reference," the "Phone Links" 
chapter, I see a reference to RFC 2806, which defines the tel scheme. I skimmed 
the RFC _very_ briefly, but it looks as though your first step is to stop 
stripping the +. Stripping the spaces seems to be required (or substitute one 
of "." "-" "(" or ")").

        — F

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to