swift中webview的URL帶中文或者特殊字符的處理

let searchword: String = "柴油0#"json /// encodeURIComponent編碼方式,會對特殊符號編碼測試         /// 方法一ui //        let toSearchword = searchword.stringByAddingPercentEncodingWithAllowedCharacters(NSCharacterSet.UR
相關文章
相關標籤/搜索