14 lines
317 B
Swift
14 lines
317 B
Swift
import Foundation
|
|
|
|
extension FileManager {
|
|
func groupDir() -> String {
|
|
let applicationGroupIdentifier = Bundle.main.string(forKey: "AppGroup")
|
|
|
|
guard let path = containerURL(forSecurityApplicationGroupIdentifier: applicationGroupIdentifier)?.path else {
|
|
return ""
|
|
}
|
|
|
|
return path
|
|
}
|
|
}
|