I create a NSUSerNotification
in the following way:
NSUserNotification *notification = [[NSUserNotification alloc] init];
[notification setTitle:notificationTitle];
[notification setInformativeText:_informativeText];
[notification setSoundName:NSUserNotificationDefaultSoundName];
[[NSUserNotificationCenter defaultUserNotificationCenter] deliverNotification:notification];
I want the notification to be displayed for more that a few seconds.
How do I customise the duration the notification is displayed on the screen?