Before I begin, I should tell you that this only happens in iOS 5.1. Before the most recent update, this had never happened and it still does not happen on any othe
Simpler it will be to use the code below:
[self saveValue:@"" forKey:@"WebKitLocalStorageDatabasePathPreferenceKey"]; [[NSUserDefaults standardUserDefaults] synchronize];
It is easier.