Learn Courses My Dashboard

IBactions to communicate with a business

i am trying to create a basic app for a business. how do i create an IBaction that will call the business’ phone number?email them?text message them?

Welcome to the community!

This may help for making a phone call

For emailing you’d use a MFMailComposeViewController, example here.

Sending a text message is also similar.

Both texts and emails will go through whatever the user has setup on the device, Mail or Messages, but if you want stuff to happen in the background you’ll have to use a service like Twilio