Uses URL schemes to determine whether apps are installed

This commit is contained in:
Riley Testut
2019-06-04 13:53:21 -07:00
parent 7c13c42d75
commit b69fb2408d
8 changed files with 165 additions and 58 deletions

View File

@@ -13,5 +13,15 @@ public extension Bundle
struct Info
{
public static let deviceID = "ALTDeviceID"
public static let urlTypes = "CFBundleURLTypes"
}
}
public extension Bundle
{
var infoPlistURL: URL {
let infoPlistURL = self.bundleURL.appendingPathComponent("Info.plist")
return infoPlistURL
}
}