I've got an app that used a multi value menu in the settings bundle to configure the rate at which the on-screen map is refreshed. The panel is set up like this:
When I run the app on my phone, I immediately go to the settings app and the menu reads "1 sec" as I expect. When I return to my app and attempt to initiate the map update the app crashes with "fatal error: unexpectedly found nil while unwrapping an Optional value" and highlights an EXC_BREAKPOINT, when I step back through the code I am taken to the settings for my multi value menu. Also, if I go to the settings app first and manually re-selct the same value the app runs perfectly. The highlighted code looks like this:
Have I incorrectly set up the default value?