• 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
Re: How to use NSTaskDidTerminateNotification on iPhone?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to use NSTaskDidTerminateNotification on iPhone?


  • Subject: Re: How to use NSTaskDidTerminateNotification on iPhone?
  • From: David Duncan <email@hidden>
  • Date: Tue, 17 Mar 2009 14:39:57 -0700

On Mar 17, 2009, at 2:01 AM, Xu Ting wrote:

NSTask.h is also not available for iPhone. So, What's the problem?
Does Apple make a mistake?

You can't launch sub-tasks on iPhone OS, so NSTask is not useful (and hence not provided). Ditto for the related notifications.


How can I resolve this problem?

Whatever problem your trying to solve you will have to solve without creating a new task. Without know what your trying to do we cannot really help you (and since this is the Core Audio list and NSTask and friends are off topic, unless your sub-task is audio related you may want to try a different list for a better chance at getting assistance).


BTW: When I compile and run it in the simulator, it worked fine!


The simulator uses the Mac OS X provided Foundation framework, which includes NSTask. While the simulator is valuable for rapid turnaround on some tasks, you should always test and verify regularly on a real device.
--
David Duncan
Apple DTS Animation and Printing


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to use NSTaskDidTerminateNotification on iPhone?
      • From: Xu Ting <email@hidden>
References: 
 >How to use NSTaskDidTerminateNotification on iPhone? (From: Xu Ting <email@hidden>)

  • Prev by Date: Re: Problem getting Audio Queues to play simultaneously
  • Next by Date: Re: AVAudioPlayer Question....
  • Previous by thread: How to use NSTaskDidTerminateNotification on iPhone?
  • Next by thread: Re: How to use NSTaskDidTerminateNotification on iPhone?
  • Index(es):
    • Date
    • Thread