Is it possible to trigger the gaming mode programmatically?

Let's say the type of project doesn't work well by using the LSApplicationCategoryType property in Info.plist. How can I trigger it via code in MacOS?

Answered by Graphics and Games Engineer in 789253022

No, you cannot programmatically trigger Game Mode.

No, you cannot programmatically trigger Game Mode.

Is it possible to trigger the gaming mode programmatically?
 
 
Q