lukegeiger / LGSemiModalNavController

A UINavigationController subclass that presents itself a dynamic amount in a view controller using the UIViewControllerAnimatedTransitioning protocol.
MIT License
409 stars 38 forks source link

Doesnt work when presenting view has a blurred background #3

Open hsavit1 opened 9 years ago

hsavit1 commented 9 years ago

hey,

im having an issue where the presenting view controller has a UIBlurEffect. when the semi modal pops up, the background goes from blurred to clear. also the touch gestures get a bit messed up. any ideas?

lukegeiger commented 9 years ago

Hey @hsavit1 is there anyway you can send me a sample project exploiting the issue? My email is lukejamesgeiger@gmail.com

phildow commented 8 years ago

Hi Luke, was this issue resolved? I'm also having this problem. Specifically in an action extension with a UIBlurEffectView, the blur disappears as the LGSemiModalNavController is presented. Strangely, I'm using a UIBlurEffectStyleDark, and the background remains dark even though the blur is gone. The blur reappears once the modal nav controller is dismissed.

hsavit1 commented 8 years ago

Sorry, I wasn't able to provide a test example. No, I wouldn't consider the issue as resolved

On Wed, Sep 30, 2015 at 1:05 PM, Philip Dow notifications@github.com wrote:

Hi Luke, was this issue resolved? I'm also having this problem. Specifically in an action extension with a UIBlurEffectView, the blur disappears as the LGSemiModalNavController is presented. Strangely, I'm using a UIBlurEffectStyleDark, and the background remains dark even though the blur is gone. The blur reappears once the modal nav controller is dismissed.

— Reply to this email directly or view it on GitHub https://github.com/lukegeiger/LGSemiModalNavController/issues/3#issuecomment-144478355 .

lukegeiger commented 8 years ago

@phildow @hsavit1 Thanks guys, I'll try to take a look when I have some free time. If someone wants to fork it and try to fix I'd be happy to take a look.

The way this works is a screenshot of the underlaying view is taken, that screenshot gets scaled, and then the modal appears. The blur might not be getting picked up in the screenshot.

phildow commented 8 years ago

Thanks for re-opening the issue Luke. I'll get a sample project your way.

Yes, I looked at the code and there aren't a lot of places for this behavior to manifest itself. I agree with your hunch that it might be the screenshot.

lukegeiger commented 8 years ago

@phildow Cool, looking forward to it.