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

One question #6

Open
KatkayApps opened this issue Jan 21, 2016 · 2 comments
Open

One question #6

KatkayApps opened this issue Jan 21, 2016 · 2 comments

Comments

@KatkayApps
Copy link

Thanks for this project. It is very good. I ask you a question: is there a way to animate the background when the popover is dismissed? I mean, to fade out the background from blurred to normal while the popover is going away? Where in code should this be done? Sorry for the question but I am not good understanding the code written by another person. THANKS:

@eternityz
Copy link
Owner

When I developed this code, animating a UIVisualEffectsView with its alpha would not work and cause an error message like this:

<UIVisualEffectView 0x7fdf5bcb6e80> is being asked to animate its opacity. This will cause the effect to appear broken until opacity returns to 1.

But I just found someone on Stackoverflow posted this solution for iOS9: http://stackoverflow.com/questions/29307827/how-does-one-fade-a-uivisualeffectview-and-or-uiblureffect-in-and-out http://stackoverflow.com/questions/29307827/how-does-one-fade-a-uivisualeffectview-and-or-uiblureffect-in-and-out.

Right now I'm busy with other project, so it will take some time for me to update this code. Please feel free to make a pull request.

Regards,
Bin

On 2016年1月22日, at 05:16, lunarbase [email protected] wrote:

Thanks for this project It is very good I ask you a question: is there a way to animate the background when the popover is dismissed? I mean, to fade out the background from blurred to normal while the popover is going away? Where in code should this be done? Sorry for the question but I am not good understanding the code written by another person THANKS:


Reply to this email directly or view it on GitHub #6.

@KatkayApps
Copy link
Author

thanks. Your explanation was amazing. if I manage to understand your code I
will make a pull request. THANKS

On Sun, Jan 24, 2016 at 1:15 PM, Bin Zhang [email protected] wrote:

When I developed this code, animating a UIVisualEffectsView with its alpha
would not work and cause an error message like this:

<UIVisualEffectView 0x7fdf5bcb6e80> is being asked to animate its
opacity. This will cause the effect to appear broken until opacity returns
to 1.

But I just found someone on Stackoverflow posted this solution for iOS9:
http://stackoverflow.com/questions/29307827/how-does-one-fade-a-uivisualeffectview-and-or-uiblureffect-in-and-out
<
http://stackoverflow.com/questions/29307827/how-does-one-fade-a-uivisualeffectview-and-or-uiblureffect-in-and-out>.

Right now I'm busy with other project, so it will take some time for me to
update this code. Please feel free to make a pull request.

Regards,
Bin

On 2016年1月22日, at 05:16, lunarbase [email protected] wrote:

Thanks for this project It is very good I ask you a question: is there a
way to animate the background when the popover is dismissed? I mean, to
fade out the background from blurred to normal while the popover is going
away? Where in code should this be done? Sorry for the question but I am
not good understanding the code written by another person THANKS:


Reply to this email directly or view it on GitHub <
https://github.com/eternityz/RWBlurPopover/issues/6>.


Reply to this email directly or view it on GitHub
#6 (comment)
.

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

No branches or pull requests

2 participants