Swift UIApplication 2021-09-02

2021-09-02  本文已影响0人  ZM_微笑向阳
 guard let url = URL(string: "alipays://platformapi/startapp?appId=68687564") else { return }
        if #available(iOS 10.0, *) {
            UIApplication.shared.open(url, options: [:]) { flag in
                
            }
        } else {
            // Fallback on earlier versions
            UIApplication.shared.openURL(url)
        }
上一篇下一篇

猜你喜欢

热点阅读