我对自定义 URL 架构有疑问。我想我已经正确配置了它,但是如果它关闭它不会打开应用程序,如果应用程序处于“后台”(即我可以看到它双击主页按钮)当我点击应用程序时打开应用程序关联。
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>com.test</string>
<key>CFBundleURLSchemes</key>
<array>
<string>test</string>
<string>test1</string>
</array>
</dict>
</array>
链接是
<a href="test://this_is_a_test">TEST</a>
其他应用程序工作正常,但不是我的。
谢谢, 马特奥