asihttprequest


MBProgressHUD with ASIHTTPRequest


I am trying to use MBProgressHUD to display a progress of download of multiple images which are downloaded via ASINetworkQueue.
I have set the hud as networkQueue's progress delegate and I have also set the mode of the hud to MBProgressHUDModeDeterminate.
I can make the hud display and hide, but I cannot change the progress. The hud just doesn't redraw itself until the networkQueue is complete.
I can see that MBProgressHUD's drawRect is never called but I don't know why.
I would be very grateful if anyone could provide a sample or pseudo code of how to achieve this.
Thanks,
Andrius
There are perhaps two likely issues:
The main thread of your application has been blocked; are you calling 'waitUntilAllOperationsAreFinished' on the main thread or similar?
ASIHTTPRequest can't report much in the way of progress if the server isn't sending Content-Length: headers, so this could also be the issue.

Related Links

ASIHTTP JavacriptCore WTFCrash
Downloading data using ASIHttpRequest
ASINetworkQueue without setting DownloadDestinationPath
I am using ASIHTTPREquest I am geeting some issue in MAc OSx xcode 3.1
What to do now that asihttprequest's owner stopped working on the project?
ASIHttPRequest didReceiveData- how to populate responseData, responseString?
RestKit with ASIHTTPRequest
ASIHTTPRequest backed RestKit object mapping
ASIHTTPRequest begins but never ends
MBProgressHUD with ASIHTTPRequest
ASIHTTPRequest and ASINetworkQueue and JSON Parsing
iOS 5 Hanging on ASIHTTPRequests
ASIHTTPRequest authentication needed when not on WiFi, with credentials given
Get return value within an ASIBasicBlock
ASIHTTPRequest setDownloadDestinationPath crashing
ASIHTTPRequestErrorDomain Code=4 “The request was cancelled”

Categories

HOME
angular-ui-grid
focus
adfs3.0
antd
whmcs
histogram
celery
openfoam
responsive-design
tfs2010
tup
lc3
amazon-elb
jpa-2.0
corona
async-await
heap-dump
temperature
jitsi
activeadmin
websphere-portal
introspection
python-appium
xdebug
oracleforms
amazon-cloudtrail
bitbake
instructions
rspec-rails
om-next
cups
pdfnet
bluemixtools
cartopy
telephonymanager
task-parallel-library
notesview
moinmoin
wysihtml5
viewmodel
android-5.0-lollipop
nothing
sonicmq
1010
polymaps
.when
emf-compare
gawk
gapi
dcount
livecycle
raw-sockets
adjacency-list
preferenceactivity
certificate-authority
pack
phpquery
textpattern
smart-tv
scala-macros
prism-4
subfolder
rfc5545
html-escape-characters
fasterxml
datagridcomboboxcolumn
osascript
sqlbindparameter
spring-social-linkedin
application-blocks
eclim
boinc
tnt4j
xs
chartfx
flv
web-frameworks
dojo-1.9
jquery-dialog
daap
spark-view-engine
multidrop-bus
background-repeat
differentiation
digiflow
mongrel2
bass
ccl
urchin
aspbutton
facebook-fbml
dm
xap
accumulator
watchpoint
chronic
account-management

Resources

Encrypt Message