【未解决】stringByAddingPercentEscapesUsingEncoding is deprecated Use stringByAddingPercentEncodingWithAllowedCharacters(_:) instead
crifan 9年前 (2015-09-19) 4328浏览 0评论
【问题】 将旧的swift代码,转换到最新的swift的语法: if let encoded = urlVal.stringByAddingPercentEscapesUsingEncoding(NSUTF8StringEncodin...