Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
[ad_1]
All of the whereas, I’m storing my app associated knowledge (photos, audio recordsdata, zip recordsdata, …) in Utility Assist Listing
static func getUserDataDirectory() -> URL {
let fm = FileManager.default
do {
let userDataDirectory = attempt fm.url(for: .applicationSupportDirectory, in: .userDomainMask, appropriateFor: nil, create: true)
return userDataDirectory
} catch {
print("(error)")
}
fatalError()
}
One of many fundamental purpose I select Utility Assist Listing, over Doc Listing is that,
Now, I need to create 2 extensions for my app
I plan emigrate all my present current knowledge in Utility Assist Listing, to App Group Listing, in order that my extensions can have entry to all app knowledge.
static func getUserDataDirectory() -> URL {
let fm = FileManager.default
let userDataDirectory = fm.containerURL(forSecurityApplicationGroupIdentifier: "group.com.xxx.yyy")
userDataDirectory
}
Nevertheless, I used to be questioning, by doing so, is there any technical limitation, or safety threat concerned?
Will third get together app capable of entry my App Group Listing, or will consumer capable of entry my App Group Listing knowledge with out going by way of my app?
Thanks.
[ad_2]