objective c - How to show a "loading" buttonless AlertView while performing REST requests -
i'm trying following:
- show buttonless uialertview showing "loading" message
perform rest request like
currentplans = [restutils restsynchnonouscall:url usingmethod:@"get" withbody:nil];
dismissing uialertview
return currentplans
i've looked dispatch_async
pattern, i've looked @ thread uialertview starts show, screen dims, doesn't pop until it's late! without understanding much... :(
thank in advance!
alert view supposed inform user can cancel or ask simple things yes/no. loading/connecting suggest use uiactivityindicator
. please note changing behavior of standard components not comply human interface guidelines. user should able dismiss alert view on his/her wish.
Comments
Post a Comment