Returns the character set for characters allowed in a password URL subcomponent.
SDKs
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
class var urlPasswordAllowed: Character Set { get }
Discussion
The password component of a URL is the component immediately following the colon after the username component of the URL, and ends at the @
sign. For example, in the URL http://username:
, the pass component is password
.