Upgrading, overwritten storageI recognize that only the application body is overwritten by the upgrade. It is assumed that the location of theu folder is multiple using the cloud service, but if you do not do it, the number of elements in this array is 1.let pathArray = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask.UserDomainMask, true) ![]() ![]() you can get the path of theu folder where the document file that the app stores.(Args)expandTildeHome~Start from the top of the user directory usingfalsestart from the root directorytrueSelect )The return value is an array of paths. func NSSearchPathForDirectoriesInDomains(_ directory: NSSearchPathDirectory, _ domainMask: NSSearchPathDomainMask, _ expandTilde: Bool) -> To get the path of the directory, use the following functions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |