Dynamically change the custom URL scheme for IOS applications

前端 未结 2 566
滥情空心
滥情空心 2021-01-07 10:30

Is there a way to dynamically change the custom URL scheme for an ios application at runtime? I could only find information on how to define custom schemes statically (i.e.,

2条回答
  •  孤城傲影
    2021-01-07 11:14

    No, you cannot change custom url dynamically. Custom url scheme is part of Info.plist file contained in the application bundle. The application bundle is read only. You cannot write to/modify the files contained within the application bundle dynamically.

    Hope that helps!

提交回复
热议问题