objective c - IOS Stop active queue -


i have queue responsible download images table view, , want stop queue when table view reloaded or segue new view controller. have tried sort of verification inside block none seem work.

if(!imagequeue){     imagequeue = dispatch_queue_create("com.loadimages", null); }  dispatch_async(imagequeue, ^{      uiimage * image = [uiimage imagewithdata:[nsdata datawithcontentsofurl:                                              [nsurl urlwithstring: urlstring]]];   }); 


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -