objective c - How to show a "loading" buttonless AlertView while performing REST requests -


i'm trying following:

  1. show buttonless uialertview showing "loading" message
  2. perform rest request like

     currentplans = [restutils restsynchnonouscall:url                               usingmethod:@"get"                                  withbody:nil];

  3. dismissing uialertview

  4. 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

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -