Comments (9)
I am simply detaching the delegate when I am moving away from the corresponding viewControllers, then I am re-attaching them when the app navigates back to it.
Also, I would like to add that I have been using this in a NativeScript app. So I doubt that my code will be of any use to you if you are using it in Object C or Swift.
Hopefully this helps.
from mzdownloadmanager.
Wouldn't it be easier to implement MZDownloadManagerDelegate after recreating the view controller? That way, you will receive all the updates from all the active downloads.
from mzdownloadmanager.
@asiby
Could you please let me know how to do this?
I am facing the same issue. When click on download, it starts, it can cancel there, if I go back to previous page, and then come back, I am not able to see the download progress as well. If at all I try to cancel the task by getting the task through index, it is not getting started again, its messed up there.
from mzdownloadmanager.
hi @asiby
Could you please show us how do you attach & detach the delegate?
Thank you very much
from mzdownloadmanager.
from mzdownloadmanager.
@asiby I want to integrate MZDownloadManager in my Nativescript App could you please help me with that I'm unable to generate ts typing for this library.
from mzdownloadmanager.
from mzdownloadmanager.
@asiby Thank you for the response. We are struggling iOS background downloads. If we could integrate this plugin it would be great. Any help would be appreciated.
from mzdownloadmanager.
Hi guys. Bad news. I couldn't find the code I had originally written. And I don't really have any time to rewrite it at this moment. Sorry guys.
from mzdownloadmanager.
Related Issues (20)
- Php Tag
- Multiple download files task called asynchronously
- How can I check the progress of downloading one file?
- Retry download does not work. Swift 3
- Why I force quit APP, the resume download from zero HOT 4
- When download in iOS 10.3.1, the cpu and memory were very high
- Having issues when downloading over fast network on slow devices HOT 2
- Stuck on pending HOT 1
- Cannot use in objc project.
- Download 3 file at same time HOT 1
- Download File Size HOT 1
- SSL Error HOT 2
- while i update xcode 10.1 with swift 4.2,have find errors such as Value of type 'MZDownloadModel' has no member 'id',Value of type 'MZDownloadManager' has no member 'clearAllDownloads' and Value of type 'MZDownloadManager' has no member 'isAnyDownloadTasks'
- Issue on MZDownloadManager.swift isValidResumeData line 156 HOT 11
- Downloding array is clear when app start again after complete all download
- Delegates are not calling after come back from background HOT 3
- Divide By Zero Exception
- Some url working fine on browser but this manager not find HOT 1
- File already exist HOT 2
- swift too many HTTP redirects HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mzdownloadmanager.