CFUserNotificationCreate does not work from daemon started via launchd
CFUserNotificationCreate does not work from daemon started via launchd
- Subject: CFUserNotificationCreate does not work from daemon started via launchd
- From: Andrei Tchijov <email@hidden>
- Date: Mon, 7 Nov 2005 17:25:03 -0500
Hi,
Could someone please shed some light on following problem. Snippet
below works when I am starting my command line tool manually, but it
does absolutely nothing when I am trying to start it using launchd.
...
NSDictionary* passwordNotificationDictionary = [ NSDictionary
dictionaryWithObjectsAndKeys:
...
@"Header", kCFUserNotificationAlertHeaderKey,
...
nil
];
CFUserNotificationRef passwordNotification =
CFUserNotificationCreate( nil,0.0,kCFUserNotificationStopAlertLevel
| CFUserNotificationSecureTextField(0), &error, (CFDictionaryRef)
passwordNotificationDictionary );
...
You help will be highly appreciated,
Andrei Tchijov
Leaping Bytes, LLC
web: www.leapingbytes.com
email: email@hidden
AIM: leapingbytes
Google: email@hidden
ICQ: 151229319
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden