I’m looking at supporting a custom url scheme in my app. Apple’s documentation notes this format without two forward slashes after the colon: myphotoapp:Vacation?index=1
URL schemes I've seen previously use :// not just : for example myphotoapp://Vacation?index=1. Both seem to work so what’s the difference? Is one more technically correct than the other, one a newer format, or something?
It seems most of Apple's apps use :// according to this unofficial list.
I see there are important differences in parsing the URL with URLComponents that would cause your URL handling code to fail if you were to use them interchangeably:
:path is Vacation and host is nil://path is empty string and host is Vacation