removeItemAtPathThis method will return a Bool value, indicating whether it is successful or not. You can check whether you deleted it successfully. Alternatively, you can also go to the sandbox and see if the file is still there. If this file was deleted correctly, it should be impossible for this situation to occur, so the greater possibility is that you did not delete it successfully.
This kind of thing can be placed in NSUserDefaults
removeItemAtPath
This method will return a Bool value, indicating whether it is successful or not. You can check whether you deleted it successfully.Alternatively, you can also go to the sandbox and see if the file is still there.
If this file was deleted correctly, it should be impossible for this situation to occur, so the greater possibility is that you did not delete it successfully.