alistairphillips.com

I’m : a web and mobile developer based in the Manning Valley, Australia.


MBProgressHUD - Alerting iPhone users

As part of my NGN iPhone app I wanted to be able to display some sort of alert to the user that a search was in progress. While there are a few ways to get this done they often involve the use of private API's which, as you well know, are a no-no. MBProgressHUD1 is a "legal" alternative that works quite well. I did have issues while trying to call it with [HUD showWhileExecuting:@selector(myTask) onTarget:self withObject:nil animated:YES]; but changing it to [HUD show:YES] when needed and dismissing with [HUD hide:YES] worked wonders.