iOS Question Restart IOS Simulator cleans up all app data

b4auser1

Well-Known Member
Licensed User
Longtime User
How to avoid cleaning up all app data after Restart IOS Simulator ?
 

b4auser1

Well-Known Member
Licensed User
Longtime User
I investigated issue and found that that the root cause is a bit another name returned by File.DirLibrary or File.DirDocuments after app or simulator restart.
In order to implement internal app db management logics I store value of File.DirLibrary in the file and compare it with the current value of File.DirLibrary. On Android it worked correctly. On iOS doesn't. I modified algorithm for iOS to consider the feature I described above. Now it works correctly on Android and iOS.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…