I am using FXBlurView but I am receiving a weird black line at the top when animating the blurView down.
I have a UITable
that is 3/4 up the ViewController and an image that is the rest. What is happening Is that it is only picking up the UITable
and not the image, in the superview. So is there a way to get the superview
to pick up both? or a replacement?
I have read that this can be fixed by replacing the superview with the actual UIView
FXBlurView captures the contents of its immediate superview by default. If the superview is transparent or partially transparent, content shown behind it will not be captured. You can override the
underlyingView
property to capture the contents of a different view if you need to.
The FXBlurView.m
code is:
- (UIView *)underlyingView
{
return _underlyingView ?: self.superview;
}
I have tried this:
((FXBlurView *)self.Genres).underlyingView = _main_view;
but this makes no difference
where ImagesTableViewController
is my main ViewController
containing the Blured Uiview and the one I want to replicate (main_view
)
But this just creates a white page for the Blured Uiview.