Execute commands programmatically in iPhone

Discussion in 'iOS Programming' started by arunarora, May 27, 2009.

  1. arunarora macrumors newbie

    Joined:
    May 26, 2009
    #1
    Hi all,

    I am looking for a way to execute the commands in iPhone programmatically. Is there a function/method in Objective-C similar to system() or execl() in C.

    Or, Is there some other function/method/API to achieve this in Objective-C.

    Really appreciate any help.

    Thanks a lot
    Arun
     
  2. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    Objective-C is a pure superset of C. Those C functions should be available. Of course use of them will result in your app being rejected due to the clear prohibition on launching other executables (apart from using the approved URL method).
     

Share This Page