Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I'm trying to make an iOS app to run an executable file from code. The file is in /usr/bin/, and I need to execute it with arguments.
/usr/bin/
How can I do it?
NSTask我可以使用这里描述的方法调用一些命令行应用程序:
NSTask
适用于 iPhone 的 NSTask 或等效项
包括来自 Mac OS X 的 NSTask.h 头文件就足以让它在我的越狱设备上运行。