1#import <AppKit/AppKit.h> 2 3void macos_force_foreground_level() { 4 [NSApp activateIgnoringOtherApps: YES]; 5} 6