Reputation: 1184
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., the custom scheme is predefined in a configuration file) and I wonder if this can be done dynamically at runtime.
Upvotes: 1
Views: 3409
Reputation: 2185
I agree with Mr. Amar, you can not change custom URL scheme dynamically. Custom scheme is unique every application. So why you need this to open one of multiple app. I dont understand this. You have to be specific while opening one app.
Upvotes: 1
Reputation: 13222
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!
Upvotes: 7