问题
I'm trying to open the Bitmoji app from within my own app in iOS using UIApplication.shared.open
. When I use just "https://www.bitmoji.com/"
URL, the Bitmoji app does not intercept the call and it opens the URL in Safari.
Tried "bitmoji://"
as the URL scheme, but this does not work. Then I googled for the bitmoji app URL scheme, but without success. Can somebody help?
回答1:
You can use bitmoji-sdk://
:
guard let url = URL(string: "bitmoji-sdk://") else { return }
UIApplication.shared.open(url)
Taken from AppSight.io
来源:https://stackoverflow.com/questions/52756856/what-is-the-ios-app-url-scheme-for-bitmoji-app