WXHook
WXHook copied to clipboard
项目中获取plist文件
例子:NSMutableDictionary *prefs = [[NSMutableDictionary alloc] initWithContentsOfFile: WXPreferencesFile]; BOOL isEnableExcludeWhenInTimeline = [[prefs objectForKey:enableExcludeWhenInTimeline] boolValue];
你prefs取得是最外层大字典,下面的代码怎么可以获取到基层之下的值呢(‘ enableExcludeWhenInTimeline’ 这个值居然还是value不是key)
不太明白这段代码怎么能生效