Pass data between two Apps by url scheme in swift?

前端 未结 2 1575
感动是毒
感动是毒 2021-02-20 08:34

There are two test Apps called Sender & Receiver

They communicate with each other by Url Scheme. I would like to send a String from Sender to Receiver, is that possi

2条回答
  •  时光说笑
    2021-02-20 08:50

    Of course you can. You just compose your app launch URL and pass the parameters like this

    iOSTest://?param1=Value1¶m2=Valuew
    

    and then parse it in UIApplicationDelegate

提交回复
热议问题