//废弃编码方式
before
- 添加
searchText = [searchText stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
NOW
移除
searchText = [searchText stringByRemovingPercentEncoding];添加
searchText = [searchText stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet characterSetWithCharactersInString:searchText]];