How do I open FaceTime inside my app

I wanted to know if there is a way so I can provide a FaceTime link inside my app and let the user open FaceTime within my app


Welcome to the community.

As far as I can ascertain, FaceTime can’t be run inside another App. What you can do is launch the FaceTime App from within your own App by using code like this example.

struct ContentView: View {
    let phoneNumber = "1234567890"
    var body: some View {
        VStack {
            if let url = URL(string: "facetime://\(phoneNumber)") {

                // Test if URL can be opened
                if UIApplication.shared.canOpenURL(url) {
                    Button {
                        // Open the URL
                    } label: {
                        ZStack {
                            RoundedRectangle(cornerRadius: 15)
                                .frame(height: 40)
                            Text("Open FaceTime")
                    .padding(.bottom, 30)

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {

NOTE: that you have to run this on a REAL device since a simulator does not have FaceTime.
The phone number I have listed is complete rubbish of course so you could substitute it with a phone number of one of your friends and give it a try.

If I want to to the same but with iMessages app or my mail app?
thank you a lot

Yes, you could. All you need to do is structure the url correctly prior launching the App.