download()
Tells the listener to download the resource instead of displaying it.
Declaration
func download()Discussion
This method converts a location change that may be in progress to a download operation without having to stop and restart the download. You might invoke this method based on the content’s MIME type.