开发者

Settings bundle MultiValue default value not working

I have created a Settings bundle for my iPhone app, with a multivalue specifier called Choice 1.

The titles and values arrays are both correct - titles is strings, and values is 1-5.

I set the default value to be 5, but it always stays as the first title in my array, and also the actual value doesn't appear next to the title of the multivalue option, so i get:

开发者_JS百科 Choice 1            >

What have i done wrong, that its not accessing the defaults - this happens on both the simulator and device.

Thanks


Are the types also match? For example, if the default value is an integer but your choices are strings then it will be considered "not match" and ignored.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜