我正在寻找一种方法来确定何时启用或禁用NightShift,并据此执行操作。我目前在CoreBrightness框架中使用CBBlueLightClientheader来控制NightShift。这是我在我的应用程序中使用的部分header:@interfaceCBBlueLightClient:NSObject-(BOOL)setStrength:(float)strengthcommit:(BOOL)commit;-(BOOL)setEnabled:(BOOL)enabled;-(BOOL)getStrength:(float*)strength;-(BOOL)getBlueLig