Returns the appropriate user-agent string for a given URL.
Original signature is '- (NSString *)userAgentForURL:(NSURL *)URL'
Available in Mac OS X v10.2 with Safari 1.0 and later.
Declaration Syntax
Parameters
- URL (NSURL)
- The URL that you need the user-agent string for.
Return Value
The user-agent string for a given URL. The user-agent string is used by websites to identify the client browser.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)