Try this method when showing the HUD.
- (void)showWhileExecuting:(SEL)method onTarget:(id)target withObject:(id)object animated:(BOOL)animated;
It is a method of MBProgressHUD - selector
should be the yelpConnectionMethod
and target the serverConnection
, object = nil
and animated depends on you :)