使用 字符串的 removingPercentEncoding 属性即可
|
Summary
A new string made from the string by replacing all percent encoded sequences with the matching UTF-8 characters.
Declaration
var removingPercentEncoding: String? { get }
使用 字符串的 removingPercentEncoding 属性即可
|
Summary
A new string made from the string by replacing all percent encoded sequences with the matching UTF-8 characters.
Declaration
var removingPercentEncoding: String? { get }
本文标题:swift url 中的 %20 移除
本文链接:https://www.haomeiwen.com/subject/qjtafltx.html
网友评论