2017-02-02 1 views

Antwort

0

Wir können dies erreichen, indem die NSFunctionBarAPIEnabled boolean Wert auf Nein Einstellung

defaults write com.apple.systemuiserver NSFunctionBarAPIEnabled -bool NO

Sie können das gleiche in Ziel c tun

NSDictionary* myDict = [NSDictionary dictionaryWithObject:[NSNumber numberWithBool:NO] forKey:@"NSFunctionBarAPIEnabled"]; 
[[NSUserDefaults standardUserDefaults] registerDefaults:myDict]; 

Quelle: http://indiestack.com/2016/12/touch-bar-crash-protection/

Verwandte Themen