Which HUD control are you using?
I am personally using SVProgressHUD
which is really cool and complete… but has one single drawback: it creates its own UIWindow
to display the HUD on top over everything. This behavior is not recommended by Apple and does not work, as you just realized, when the system creates its own UIWindows
especially to display UIAlertViews
.
The solution I used is to modify SVProgressHUD
to add itself on top of the application's window.rootViewController.view
, so that it stays on top of everything… in its own main window, letting stuff like UIAlertViews
being displayed on their private window that is on top of this one, and thus letting you interact with UIAlertViews
even when your progressHUD is visible.
(If you are not using SVProgressHUD
, the another class you use probably does have the same issue, so check with that one)
I should have posted a pull request to SVProgressHUD
but didn't have the time yet. Will probably do anytime soon if I don't forget ;)