【发布时间】:2014-03-10 20:25:49
【问题描述】:
我是iPhone 开发的新手。我在APP 上使用IASK:
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”,而不是默认值。
【问题讨论】:
标签: ios iphone inappsettingskit