7
以下命令做工精細與AFNetworking 1.x的庫如何設置AFNetworking 2.0默認標題?
[self registerHTTPOperationClass:[AFJSONRequestOperation class]];
...
[self setDefaultHeader:@"Accept" value:@"application/json"];
什麼是這些功能在AFNetworking 2.0等價?
感謝