我是开发新手。我正在iPhone
使用:IASK
APP
Under root.plist, added new preference i.e, "new_preference" BOOL Key with type as PSToggleSwitchSpecifier, default value as NO. I'm able to access "new_preference" default value correctly (as FALSE) on my code using boolForKey:@"new_preference".
当我改变时:
"new_preference" to STRING / INTEGER Key with type as PSTextFieldSpecifier /
PSMultiValueSpecifier, default value as "abcd" / "123". "new_preference" default value not reflects on my code with string/integerForKey:@"new_preference".
它不是默认值,而是适当地导致“null”/“0”。