Just curious if this is possible. Right now here is what a sample MAAttachedWindow
looks like:
However, I want to know if I can blur the background behind the window, like this:
Is this possible without using private APIs?
Request for code. Well, here's how MAAttachedWindow works. You just feed it a custom NSView, and it does the rest. So, here's how I was trying to make the blur:
CALayer *backgroundLayer = [CALayer layer];
[view setLayer:backgroundLayer];
[view setWantsLayer:YES];
CIFilter *blurFilter = [CIFilter filterWithName:@"CIGaussianBlur"];
[blurFilter setDefaults];
[view layer].backgroundFilters = [NSArray arrayWithObject:blurFilter];
If you are unable to find the blurred background option, it is likely that your computer processor does not meet the system requirements due to it being from a generation that is not supported.
No. You can’t do this without using private APIs. (Is my message 30 characters long yet?)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With