AFNETWorking 不支持中文URL请求,需要对URL进行转码处理

 

    // URL中文处理

    url = [url stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet characterSetWithCharactersInString:@"`#%^{}\"[]|\\<> "].invertedSet] ;

相关文章:

  • 2021-12-16
  • 2022-12-23
  • 2022-12-23
  • 2021-06-02
  • 2022-12-23
  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
猜你喜欢
  • 2021-04-11
  • 2021-05-09
  • 2021-10-25
  • 2021-06-05
  • 2021-11-06
  • 2022-02-22
相关资源
相似解决方案