A question about iOS

  • 2 Replies
  • 411 Views
*

FlatAssembler

  • 469
  • Not a FE-er
A question about iOS
« on: August 05, 2017, 01:35:51 PM »
If iOS is based on Darwin OS, can you use the "system" function from "stdlib.h" in your Objective-C programs for iOS? If so, what does it do there? What kind of shell is available? Does it allow you to redirect the output of a CLI program to a file and then read it?
Fan of Stephen Wolfram.
This is my parody of the conspiracy theorists:
https://www.theflatearthsociety.org/forum/index.php?topic=71184.0

*

Bullwinkle

  • The Elder Ones
  • 19538
  • Standard Idiot
Re: A question about iOS
« Reply #1 on: August 05, 2017, 09:02:03 PM »
I'm not sure.

*

FlatAssembler

  • 469
  • Not a FE-er
Re: A question about iOS
« Reply #2 on: August 06, 2017, 01:29:12 AM »
If you have access to both iPhone (or iPad or iPod) and a Mac with XCODE installed, you can test that yourself. I don't have an iOS device, I can only test my apps in iOS simulator. There the "system" function appears to work.
Fan of Stephen Wolfram.
This is my parody of the conspiracy theorists:
https://www.theflatearthsociety.org/forum/index.php?topic=71184.0