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.
精彩评论