Is there a way that an AppKit application can determine which Liquid Glass option has been selected in System Settings (Clear or Tinted)?
Testing for Liquid Glass option selected in System Settings?
Thank you for your post. I was thinking a method to detect this, but then again, I was reminded of the purpose of your application. I believe the goal is to modify the appearance of your application based on the theme.
However, this approach can be counterproductive. If macOS is a previous version or more themes are introduced, your application will appear significantly different. My recommendation is to maintain a simple application and avoid using custom colors.
This allows AppKit to apply the appropriate theme and ensure optimal appearance across all macOS versions and themes. I suggest creating a highly simplified application, devoid of any color, and testing it on various macOS versions while experimenting with different themes to assess its adaptability.
I do always recommend this great article if you haven’t read it before: https://developer.apple.com/documentation/technologyoverviews/adopting-liquid-glass
If you'd like us to consider adding the necessary functionality, please file an enhancement request using Feedback Assistant. Once you file the request, please post the FB number here.
If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why?
Hope this helps.
Albert Pascual Worldwide Developer Relations.
Actually, the program is a test program, and the answer to the question will be used to create a file name for a screen shot of the application window so that I know what the screen shot represents. FB20868055
Alternatively, is there a way for a script to set this option in System Settings?
Thanks, I see you just filed it, thanks for this. Let the engineering team sometime to look over the enhancement request and you should receive an answer on the Feedback Assistant link.
here, you can track if the report is still being investigated, has a potential identifiable fix, or has been resolved in another way. The status appears beside the label "Resolution." We're unable to share any updates on specific reports on the forums.
For more details on when you'll see updates to your report, please see What to expect after submission.
Albert Pascual Worldwide Developer Relations.