I am storing a username in CFPreferencesCopyAppValue. Under iOS 3.1.3 it works as expected but in iOS4 it stores it while the App is open but as soon as its closed (using the multitasking close ability) the variable isn't stored, ie on relaunch of the App its null.
I have a feeling it might be an issue with the multitasking as the App is closed a bit differently than in iOS 3 and therefore not saving on the App being closed.
I am unfortunately not using the most up to date version of the SDK so it might be fixed in later releases but I need the App to work under 3.1.3 and 4.0 and this is the last version of the SDK that has 3.1.3 and 4.0 without the need to have multiple installs. So if it is fixed on the final version I guess I have to have multiple installs.
Any light on the matter is appreciated.