7

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?

lambmj
  • 1,843
  • 2
  • 21
  • 27

1 Answers1

4

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.

Community
  • 1
  • 1
Gabriel
  • 3,039
  • 6
  • 34
  • 44
  • The second and third links both point to the same SO question. Was there another link? – lambmj Dec 20 '11 at 16:17
  • @lambmj Nope, I just feel the need to put links whenever I type "here". Sorry, I'll fix it. – Gabriel Dec 20 '11 at 16:20
  • Also, there is a MINIMUM URL scheme length. I noticed this after iOS 7 came out. Apple started rejecting URL schemes that are too short. 2 chars failed but 6 seems to work. – Jay Q. Oct 25 '13 at 23:35