FXBlurView icon indicating copy to clipboard operation
FXBlurView copied to clipboard

Resize animation starts from the final size

Open bonkey opened this issue 10 years ago • 1 comments

I use custom UIViewControllerAnimatedTransitioning to open a new controller with its background set as FXBlurView based on presentingController.view. The animation isn't anything fancy – it basically changes the frame from one to another.

The opening animation is correct, but the closing one is like starting from its final size:

resize-fx

Replacing FXBlurView with [[UIImageView alloc] initWithFrame:self.view.bounds] gives the correct sizing result:

resize-imageview

When I did very similar thing earlier without controllers, using only UIViews it generally worked.

If it's a bug in FCBlurView, I'm willing to try to fix it, but I would be glad if anybody give me some initial thoughts where to start to avoid spending time on unnecessary debugging.

bonkey avatar Mar 12 '14 07:03 bonkey

Hi, can you check if version 1.6 solves this problem for you? I made some changes to the capture offset logic.

nicklockwood avatar Mar 25 '14 22:03 nicklockwood