Is there any restrictions on Custom URL scheme names? URL scheme name "httpabc" works but "http:abc" doesn't work. So wanted to know the restrictions imposed by Apple as I couldn't find relavent document in developer portal?
Replies
URL schemes are defined by RFC 3986.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
Is there a way to validate whether give string is a http url or URL scheme?
Please be more specific about your requirements here, that is, post some examples of what strings you want to pass the test and what strings you want to fail.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"
My app can get request either from web app or native app via universal. If I get a string(will be used to call the source app) from another app or from the server, I should be able to figure out whether its a URL scheme URI or web URL. Is there any convenient method available or any regex will help to validate?