NSURLSession: background upload and then call a service api

后端 未结 4 2062
我在风中等你
我在风中等你 2021-02-15 01:33

I was trying to use the new ios7 background transfer api to upload some photos to a server. what it happened now is 1) we upload the bytes to s3 2) call a service api to \'compl

4条回答
  •  猫巷女王i
    2021-02-15 02:23

    NSURLSessions has a delegate method URLSessionDidFinishEventsForBackgroundURLSession which is called after session completes all its tasks. I believe you should perform an api call out there.

提交回复
热议问题