朋友们,我现在在做ios断点上传文件至七牛云端,需要有【上传和暂停上传,以及进度处理】,请问有没有哪位朋友实现了这个功能的。求交流。
PHP中文网2017-04-24 09:14:59
Qiniu’s objc-sdk will upload the file in parts by default when the file is larger than 512KB, with each piece being 256KB; for specific documentation, please refer to http://developer.qiniu.com/docs/v6/sdk /objc-sdk.html, pause the upload and then continue, which essentially means recording the upload breakpoint and then continuing the upload. You can refer to the breakpoint recording unit test QNFileRecorderTest.m in the SDK. The progress processing can be obtained through the progress callback function QNUpProgressHandler.
ringa_lee2017-04-24 09:14:59
Please tell me, I want to achieve the same thing as you. I encountered a problem when resuming the upload. How can I let it continue to upload after the program exits?