mzeeshanid / MZDownloadManager

This download manager uses NSURLSession api to download files. It can download multiple files at a time. It can download large files if app is in background. It can resume downloads if app was quit.
BSD 3-Clause "New" or "Revised" License
1.12k stars 238 forks source link

progress view not updating view controller #25

Open mostafamaan opened 7 years ago

mostafamaan commented 7 years ago

so im using your demo with the same implementation the only difference is im not using tabbar im using viewControllers with segue the first view has the urls and the second view has the download cell when the download start everything work great but when get back to the url view and go to the download view again the progress bar stop updating and get back to it original state but i can tell that downloadCell.updateCellForRowAtIndexPath(indexPath, downloadModel: downloadModel) still working but not updating the progress

mzeeshanid commented 7 years ago

Not sure about the problem. Can you share some demo project? I will try to fix that.

professionalsna commented 7 years ago

@mostafamaan try to get the same (previous) instance of your downloading view controller. Do not use segue to navigate to downloading view. hope this help.

sahuamit13 commented 7 years ago

Hi mzeeshanid, I am having the same issue not using the tab bar view segue the downloading controller from different controller, I have to implement side menu drawer in my app (I need to implement a button which download the video) when i press the button downloading will start when I move back from downloading controller the downloading will stop and how to prevent same video will not download again and again. I have created demo app using your demo app app link can you please tell me where did i mistake.

Thanks

ajaysinghthakur commented 7 years ago

i think we should use shared instance of the class

Nuwaithu commented 6 years ago

hello sir , I want to use only viewcontroller instead of tabbar controller , how to fix progressVIew work in use viewcontroller

mzeeshanid commented 6 years ago

I recently update the library please check with the new version. On Wednesday, March 21, 2018, 9:40:13 PM GMT+5, Nu Wai Thu notifications@github.com wrote:

hello sir , I want to use only viewcontroller instead of tabbar controller , how to fix progressVIew work in use viewcontroller

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

shahrammahadvi commented 4 years ago

hello , I want to use only viewcontroller instead of tabbar controller , but progressBar and status not update?(updateCellForRowAtIndexPath not updated )