Skip to content
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

Closed
wants to merge 8 commits into from

Conversation

johnkdoe
Copy link

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.

matej and others added 8 commits November 15, 2012 15:01
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.
@johnkdoe
Copy link
Author

johnkdoe commented Dec 1, 2012

at this point, i've pulled to be in sync with your master, other than commit ff8cfc7

@matej
Copy link
Collaborator

matej commented Dec 1, 2012

Cold you perhaps provide an example of this problem? E.g., modify the demo
project?

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
commit ff8cfc7 ff8cfc7


Reply to this email directly or view it on
GitHubhttps://github.com//pull/104#issuecomment-10915806.

@johnkdoe
Copy link
Author

johnkdoe commented Dec 1, 2012

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.

@johnkdoe
Copy link
Author

johnkdoe commented Dec 2, 2012

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.

@matej
Copy link
Collaborator

matej commented Dec 2, 2012

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?

@matej
Copy link
Collaborator

matej commented Jan 31, 2016

Closing as this is now too outdated.

@matej matej closed this Jan 31, 2016
brevansio pushed a commit to brevansio/MBProgressHUD that referenced this pull request Jun 7, 2020
add Simp. Chinsese translation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants