iOS URL Scheme Length

2020-07-09 10:27发布

问题:

Is there a limitation on the length of a URL Scheme for an iOS App?

We have a number of apps and want to prefix them with the name of our 14 character company name to prevent ambiguity. I don't see any mention of a limitation in the documentation and I can enter an arbitrarily long string in Xcode.

I know that the shorter schemes are preferred but is there a limit on the length of the scheme?

回答1:

I'm pretty sure that its the same as the normal URL scheme.

This question goes over a similar topic, you might find more information in here.