Skip to content

How is the seamless blur effect achieved when a popup bar is presented and docked to the top of a tab bar? #532

Closed Answered by LeoNatan
gcox asked this question in General
Discussion options

You must be logged in to vote

Hello,

You can find the implementation here:

- (NSString*)_effectGroupingIdentifierKey

[visualEffectView setValue:groupingIdentifier ?: [NSString stringWithFormat:@"<%@:%p> Backdrop Group", self.class, self] forKey:self._effectGroupingIdentifierKey];

UIKit has a hidden property which synchronizes between visual effect views, which the system uses internally to achieve what you need. I just investigated and also use it for the popup bar.

The idea is to set a group nam…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gcox
Comment options

gcox Feb 11, 2023
Author Sponsor

Answer selected by LeoNatan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants