Author Topic: How to return to your app after initiating a phone call from the app  (Read 2204 times)

kjmcneish

  • Administrator
  • *****
  • Posts: 719
    • View Profile
To return to your app after initiating a phone call from within your app, use the "telprompt://" URL:

Code: [Select]
UIApplication.sharedApplication().openURL(NSURL(string: "telprompt://:<enter phone number here>")!)
All the best!
Kevin McNeish
Author of "Learn to Code in Swift": https://itunes.apple.com/us/book/learn-to-code-in-swift/id942956811?mt=11
« Last Edit: August 20, 2015, 02:46:17 AM by kjmcneish »