Full list of iOS system notifications?
Is there a list of all the system notifications that the app can watch? By "system" notification, I mean something like: UIKeyboardWillShowNotification.
I am looking for a way to find out if an iOS device is disabled. Though I doubt there is a notice that says it exactly. I wonder if I can find some alternatives (maybe a combination of system events) that will tell me to disable / enable the device.
Thank!
source to share
If name
u are object
set to nil
, the provided block will get everything NSNotification
started by the application.
This is how you can print everything NSNotification
launched by your application to the console :
NSNotificationCenter *center = [NSNotificationCenter defaultCenter];
[center addObserverForName:nil
object:nil
queue:nil
usingBlock:^(NSNotification *notification)
{
NSLog(@"%@", notification.name);
}];
source to share