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

FIX: FXBlurView doesn't work properly in Landscape Orientation #25

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

gerasim13
Copy link

Fixes #21

@nicklockwood
Copy link
Owner

Can you provide an example project demonstrating the problem? I'm unclear what you mean, as FXBlurView should not care about the screen orientation, and I'm concerned your fix might be specific to a particular use-case.

@gregpardo
Copy link

I am having this problem. My app is running in landscape mode. I have an FLBlurView as the base view in my modal controller that I am launching from a first view controller. It works but the orientation of view of the first view controller comes back wrong and gets displayed rotated 90 degrees counter clockwise.

I do this...

SomeViewController *vc = [[SomeViewController alloc] init];

self.modalPresentationStyle = UIModalPresentationCurrentContext;

[self presentViewController:vc animated:NO completion:^{
    [vc setUnderlyingView:self.view];
}];

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.

FXBlurView doesnt work properly in Landscape Orientation
3 participants