In iOS development, integrated apps access means allowing your app to open and interact with built-in iOS applications such as:
👉 This is done using URL Schemes and system frameworks like UIKit.
A special type of URL used to open system apps.
Examples:
mailto: → Emailhttps:// → Safarisms: → MessagesUsed to open external apps from your app:
UIApplication.shared.open(URL)
mailto:example@gmail.com
let email = "test@gmail.com"
let subject = "Hello"
let body = "This is a test email"
let emailString = "mailto:\(email)?subject=\(subject)&body=\(body)"
let url = URL(string: emailString)!
UIApplication.shared.open(url)
let url = URL(string: "https://www.google.com")!
UIApplication.shared.open(url)
sms:1234567890
let phoneNumber = "1234567890"
let message = "Hello from my app"
let smsString = "sms:\(phoneNumber)&body=\(message)"
let url = URL(string: smsString)!
UIApplication.shared.open(url)
iOS App
↓
URL Scheme (mailto / https / sms)
↓
UIApplication.shared.open()
↓
System App Opens (Mail / Safari / Messages)
👉 User taps button → system app opens automatically
UIApplication.shared.open()https://https:// in Safari linksif UIApplication.shared.canOpenURL(url) {
UIApplication.shared.open(url)
}
UIApplication.shared.open()?iOS apps can open:
mailto:https:sms:Uses UIApplication.shared.open()
URL schemes connect apps
Works best on real devices
Useful for communication apps
Open this section to load past papers