Answer the question
In order to leave comments, you need to log in
Is it possible to launch one application on click from another?
Conditionally, the application offers to check mail. It is necessary to launch the second application (mail) by clicking in the first application. And one more thing ... Is it possible to display a list of applications installed on the iphone in the application in order to select, for example, the same mail client, to work with it by default in the first application. Hope I didn't confuse too much. :)
Answer the question
In order to leave comments, you need to log in
You can open other applications by url scheme. It looks like this
guard let url = URL(string: "mail://") else { return }
if UIApplication.shared.canOpenURL(url) {
UIApplication.shared.open(url, options: [:], completionHandler: nil)
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question