Skip to content

steventroughtonsmith/CatalystTransparentChrome

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

TransparentChrome

In response to a developer question, I looked for the easiest way to provide a translucent full-window chrome with a blurred background in Mac Catalyst. This solution uses a UISplitViewController in sidebar style as a background view. Potential other methods would be interfacing with AppKit and adding a visual effect view at the root of your window, but I haven't tried going that route here.

This style of window is used in simple media player applications like QuickTime Player, and could be useful to simulate the macOS 'HUD' window style for auxiliary panels.

Screenshots

https://hccdata.s3.us-east-1.amazonaws.com/gh_transparentchrome.jpg

About

Creating a blurred window background in Mac Catalyst

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages