Skip to content

Instantly share code, notes, and snippets.

@Li-blog
Created August 8, 2016 14:22
Show Gist options
  • Save Li-blog/a8f48e4723cb64945c869d25e48f78be to your computer and use it in GitHub Desktop.
Save Li-blog/a8f48e4723cb64945c869d25e48f78be to your computer and use it in GitHub Desktop.
%ctor {
if ([WCPreferencesManager sharedManager].lockScreenEnabled) {
%init(LockScreen);
}
if ([WCPreferencesManager sharedManager].nCEnabled) {
%init(NotificationCenter);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment