更新时间:2022-12-11 21:36:45
问题2是正确的技术,你只需要使用新的API:
Question 2 is the correct technique, you just need to use the new API:
request = [objectManager requestWithObject: method: path: parameters:];
然后创建操作:
operation = [objectManager objectRequestOperationWithRequest: success: failure:];
然后推送执行:
[objectManager enqueueObjectRequestOperation:];