Skip to content

Instantly share code, notes, and snippets.

@david90
Created July 8, 2015 06:57
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 david90/a675597fa3c91d88f7b9 to your computer and use it in GitHub Desktop.
Save david90/a675597fa3c91d88f7b9 to your computer and use it in GitHub Desktop.
Check not in extension
#if !(defined(__has_feature) && __has_feature(attribute_availability_app_extension))
// some [UIApplication sharedApplication] code
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment