(1) Introduction of the situation
--We first import a plist file to do the project, simulate the running view effect.
--delete plist, replace a new plist,cmd+r simulation run, and discover whether the program interface shows the last data.
(2) Reason
This is because the first time the simulation runs, a "sandbox" has been generated and all the resources are stored in the sandbox (if the user's phone is equivalent to the data already downloaded to the user's phone). At this point, although we have replaced, the data in the sandbox is still the last data.
(3) Solve the idea: clear the last data left, and then reload the new data plist. (Recommended 2-step walk)
--Remove the app in the simulator first
--Perform clear data operations
"iOS Dev-61" after replacing the plist resource, the running program iOS emulator still shows what the last data looked like and how to fix it?