Forum Xamarin.iOS
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Calling a number inside app

BonnBonn USMember ✭✭


I would like to know how to call a number from app. I tried to look for it over the net but I can't find one for c#.



  • nodoidnodoid GBMember, Beta ✭✭✭

    This works fine for me…

    using System;
    using MonoTouch.Foundation;
    using MonoTouch.UIKit;
    namespace pfjtest
        public static class EmergencyCall
            public static void callNumber()
                string phoneNumber = "939-555-0113";
                string phoneURLString = string.Format("tel:{0}", phoneNumber);
                NSUrl phoneURL = new NSUrl(phoneURLString);

    OK, this is overly long as it's from much larger app, but simply done

    var url = NSUrl.FromString("tel:939-555-0113");

    will do the job :)


  • DanMiserDanMiser USMember ✭✭

    telprompt: is another nice one that provides the Call/Cancel dialog functionality to you for free, too.

  • BonnBonn USMember ✭✭

    thank you for your response! :D

Sign In or Register to comment.