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
need visibility to setTransformForCurrentOrientation to use in certain circumstances #104
Conversation
discovered that HUDs were being displayed sideways or upside-down when using the .view.window of a popped UINavigationController as the root for a HUD view when returning. if using the current view, the HUD would not appear. by using this call under that circumstance, the problem was solved … so made it public.
Conflicts: MBProgressHUD.m
at this point, i've pulled to be in sync with your master, other than commit ff8cfc7 |
Cold you perhaps provide an example of this problem? E.g., modify the demo On 1. dec. 2012, at 11:45, johnkdoe notifications@github.com wrote: at this point, i've pulled to be in sync with your branch, other than — |
an example might take a little while: it involves putting up a HUD in a view controller that is popping into view while the phone is rotated into landscape orientation or upside-down orientation. i'll see about putting something together ... but i'm at the point of working saturday, so it might be a few days. |
if it helps to know my test case, i've been doing testing on my iPad tonight, only when i call [self.hud setTransformForCurrentOrientation:NO]; in strategic locations does it stop showing the hud sideways in landscape mode. my use case is a UISplitViewController where there's a UITabBarController on the master side, a popoverController for a login, and a simple view-controller in the detail view. i want the hud to be centered in the middle of the view, not in the middle of one of the subviews, so i'm picking self.view.window from the view in the tab-bar-controller in the master-side of the splitViewController . boiling it down to a small test case may not be so easy. |
I keep having the feeling that this is a big that should be fixed internally in some way, not something that should require outside calls "in strategic locations". That's the reason I would prefer to see a reproducible test example. What about putting it on self.splitviewcontroller.view? Does that work better? |
Closing as this is now too outdated. |
add Simp. Chinsese translation
discovered that HUDs were being displayed sideways or upside-down when
using the .view.window of a popped UINavigationController as the root
for a HUD view when returning. if using the current view, the HUD would
not appear. by using this call under that circumstance, the problem was
solved … so made it public.