• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CFUserNotificationCreate does not work from daemon started via launchd
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: CFUserNotificationCreate does not work from daemon started via launchd
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: AuthorizationExecWithPrivileges and /bin/cp
  • Next by Date: Re: CoreData Entity attributes vs. Cocoa naming conventions
  • Previous by thread: Re: mlRE: NSScrollView problems when scaling an NSTextView
  • Next by thread: Re: CFUserNotificationCreate does not work from daemon started via launchd
  • Index(es):
    • Date
    • Thread