Instance Property

percentEncodedFragment

The fragment URL component (the part after a # symbol) expressed as a URL-encoded string, or nil if not present.

Declaration

@property(copy) NSString *percentEncodedFragment;

Discussion

For example, in the URL http://www.example.com/index.html#jumpLocation, the fragment is jumpLocation.

If you set this value to something that is not a valid, percent-encoded string, this class throws an exception.

See Also

Accessing Components in URL-Encoded Format

percentEncodedHost

The host URL subcomponent expressed as a URL-encoded string, or nil if not present.

percentEncodedPassword

The password URL subcomponent expressed as a URL-encoded string, or nil if not present.

percentEncodedPath

The path URL component expressed as a URL-encoded string, or nil if not present.

percentEncodedQuery

The query URL component expressed as a URL-encoded string, or nil if not present.

percentEncodedUser

The username URL subcomponent expressed as a URL-encoded string, or nil if not present.