@@ -49,6 +49,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
}
func application(_: UIApplication, open url: URL, options _: [UIApplication.OpenURLOptionsKey: Any] = [:]) -> Bool {
+ if url.scheme == "bfmusic" {
+ BFLog(1, message: "tets")
+ return true
+ }
return PQSingletoWXApiUtil.shared.handleOpen(url: url)
@@ -34,6 +34,14 @@
<string>wx0e8234aac576d1e0</string>
</array>
</dict>
+ <dict>
+ <key>CFBundleTypeRole</key>
+ <string>Editor</string>
+ <key>CFBundleURLSchemes</key>
+ <array>
+ <string>bfmusic</string>
+ </array>
+ </dict>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>