Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Avoid Vibrancy in Mojave

$
0
0

Hello Everyone,

I have an app where I have a few NSPopover everything works fine before Mojave but in that version 10.14 all objets inside NSPopover are transparent, is there a way I can avoid this?

I tried
if (NSProcessInfo.ProcessInfo.OperatingSystemVersion.Major == 10 &&
NSProcessInfo.ProcessInfo.OperatingSystemVersion.Minor == 14)
{
Debug.WriteLine("We are in mojave");
NSApplication.SharedApplication.Appearance = (NSAppearance.GetAppearance(NSAppearance.NameAqua));
}

Sometimes it work and other don't, even NSAlerts have these issues too, also tried to apply a Layer (WantsLayer=true and a color to that layer)

Is there a better way to do this?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>