Skip to content

Instantly share code, notes, and snippets.

@inickt
Created December 26, 2018 08:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inickt/7ee737143151821e5b11e9fd14c5698e to your computer and use it in GitHub Desktop.
Save inickt/7ee737143151821e5b11e9fd14c5698e to your computer and use it in GitHub Desktop.
Check if iOS App is installed to /Applications (using a jailbreak)
let installPath = Bundle.main.bundleURL.deletingLastPathComponent().relativePath
let isJailbreakInstall = installPath == "/Applications"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment