"The sncronize method writes any modifications to the persistent domains to disk and updates all unmodified persistent domains to what is on disk."
"This method is automatically invoked at periodic intervals, use this method only if you cannot wait for the automatic synchronization (for example, if your application is about to exit)"
and in your case the app will not crash as you first check weather there is an object for the key "Test_Value_1" in user defaults, so if the key is removed then it will not execute the code in if condition.