-1
而不是打印1或0.我不想输出True或False。Objective-C bool真假隐蔽(NSDictionary)
这里是我当前的代码
NSString *plistPath = @"/Library/Preferences/TestPlist.plist";
NSDictionary *plistData = [NSDictionary dictionaryWithContentsOfFile:plistPath];
NSString *tester = [plistData valueForKey:@"MyKeyOption"];
NSLog(@"%@", [NSString stringWithFormat:@"%@", tester]);
_test.stringValue = tester;
在正确的方向任何帮助将不胜感激。
https://stackoverflow.com/questions/6358349/how-to-print-boolean-flag-in-nslog –
[如何在NSLog中打印布尔标志?](https://stackoverflow.com /问题/ 6358349 /如何对打印布尔旗在-的NSLog) – waka