//获取网页地址对应的字符串 var urlString = url.absoluteURL.absoluteString
Swift-HELP
原文:http://www.cnblogs.com/igeniuswwh/p/5950483.html