Skip to content

Instantly share code, notes, and snippets.

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 WildStudio/99bc8d8990f6b9551dd9aaab1c6f8b28 to your computer and use it in GitHub Desktop.
Save WildStudio/99bc8d8990f6b9551dd9aaab1c6f8b28 to your computer and use it in GitHub Desktop.
fileprivate var isCurrentUserActivity:Bool {
get {
let appDelegte = UIApplication.shared.delegate as! AppDelegate
return appDelegte.currentUserActivity != nil
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment