Re: How to use NSTaskDidTerminateNotification on iPhone?
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