cezarywojcik / CWPopup

CWPopup category to present popup view controllers
MIT License
289 stars 62 forks source link

Blurring the Entire Navigation Controller (Including the Navigation Bar)? #8

Open vicc opened 10 years ago

vicc commented 10 years ago

I would like to blur the whole background (including the navigation bar), but as of now, only the table view blurs. Any suggestions?

cezarywojcik commented 10 years ago

I think this is because the blurred screenshot is being placed on top of the current view. I do not currently have the time to fix it, and I will try to do so asap, but it might be a week or more before I get around to it. Sorry.

vicc commented 10 years ago

Thank you for your quick reply! Also related, I was wondering if you could also implement a feature where we could decide whether the background view were static or not (as of right now my blurred table view can still be scrolled). Thanks!

cezarywojcik commented 10 years ago

When I get around to it, I'm hoping to put the entire thing in a new UIWindow altogether to ensure that it stays on top. I'm thinking that may solve this issue as well.

vicc commented 10 years ago

That would definitely make this tool 10x better!

bumaociyuan commented 10 years ago

I fixed this issue. See my fork https://github.com/bumaociyuan/CWPopup

Dids commented 9 years ago

This works fine and blurs both the navigation controller and the main view:

[self.navigationController presentPopupViewController:samplePopupViewController animated:YES completion:nil];

genaks commented 8 years ago

@Dids Did this work for you then to dismiss the popup?

    [self.navigationController dismissPopupViewControllerAnimated:YES completion:^{
        NSLog(@"popup view dismissed");
    }];
Dids commented 8 years ago

Can't remember, I'm afraid.

genaks commented 8 years ago

Well, it's not