Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS URL Scheme Length

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?

like image 918
lambmj Avatar asked Dec 20 '11 14:12

lambmj


People also ask

Is there a max length for a URL?

The official documentation specifies a maximum length of 2048 characters for the <loc> element, which is used to submit URLs: URL of the page. This URL must begin with the protocol (e.g. “http”) and end with a trailing slash if required by the web server. This value must not exceed 2,048 characters.

How long can URL params be?

Microsoft states that the maximum length of a URL in Internet Explorer is 2,083 characters, with no more than 2,048 characters in the path portion of the URL.

What is URL scheme in iOS?

URL schema is used as an identifier in launching applications and performing a set of commands in iOS devices. The schema name of a URL is the first part of a URL. (e.g. schemaname:// ). For web pages, the schemas are usually http or https.

What is the ideal length of a URL?

But once you move down to the number 10 spot, the average URL has 62 characters. So somewhere around 50 – 60 characters is a pretty good number to shoot for. If you go way beyond (say 80+ characters), this is likely to have a negative impact on your ranking.


1 Answers

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.

like image 142
Gabriel Avatar answered Oct 04 '22 04:10

Gabriel