-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't play well with UIMenuController under iOS 5.1(b) #35
Comments
Thanks @bzotto, I will look into this shortly. |
I'm currently away from home and don't have access to the 5.1 SDK, but you can start by checking the value of |
Hey Sam, Thanks, sorry for the confusion. Ben On Sun, Dec 11, 2011 at 3:49 AM, Sam Vermette <
Cocoa Box -- http://www.cocoabox.com |
OK, nevermind. Not only was this not an issue with core SVProgressHUD, it was not an issue with Barrett's fork, either. I'd introduced a subtle behavior change in the window search when I retrofitted it for iOS 3.x compatibility that only caused a problem on 5.1b, weirly. This one was all me. Sorry guys, and thanks. |
Hah, ok. Thanks for the follow-up! |
Heads-up. Under iOS 5.1b, once the HUD has appeared and then disappeared, invocations elsewhere in the UI of UIMenuController will fail (ie the menu will simply not appear), both in custom views but also in system-standard text views.
It's something to do with the interactions in window ordering, though I'm not sure whether it's a beta-only bug that Apple's introduced, or whether this is going to be a production problem. I'm not well enough versed in the UIWindow stuff to understand what's happening exactly, but possibly the UIMenuController lives on its own window and that's getting shuffled behind when the HUD dismisses?
Opening another modal view controller (e.g. the mail compose controller, or any custom form sheet, etc) "clears" the condition and the menu will function again.
Workaround: If I turn the HUD into a UIView subclass (rather than UIWindow) and simply add it as a subview to my current known window, I find it no longer exhibits this interaction.
The text was updated successfully, but these errors were encountered: