Welcoming Sierra

macOs Sierra

macOS, iOS, tvOS and watchOS all announced at WWDC tonight – looking forward to trying them out when we are developing new iPhone and iPad Apps in the coming months. I think that building in voice integration to all apps is absolutely critical for apps in the future. More and more users are going to want to use computers/devices and apps solely by voice, so it’s great to see the full integration of voice directly into an operating system for the first time.

What do you think? Will you start talking to your Mac?

Swift 2 – Make phone call from App

Apple updated its guidelines a while back so that if you want press a button in your App to then make a phone call, it must prompt first to ask the user for confirmation that they wish to make the call.

After hours and hours of trying to make my own UIAlertController and really struggling with the Confirm button not running the function to actually make the call, I decided to do a lot more googling.

Turns out there is a fantastically simple way to use the built-in prompt.

if let url = NSURL(string: “telprompt://01234567890”)
{
UIApplication.sharedApplication().openURL(url)
}