解决办法如下:
let newUrl = url.addingPercentEncoding(withAllowedCharacters: CharacterSet.urlQueryAllowed)
iOS开发
14 篇文章
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!