Hi so before I ask my question I would like to apologise because I am new with app development so sorry if any questions are really stupid.
So I am making an app using the Instagram API and this is my first time implementing it into Xcode and to be honest i'm not quite sure how it really works but I have managed to struggle my way through gaining the code that Instagram provides into Swift using a Web View but now I need to be able to run the terminal command:
curl -F 'client_id=CLIENT_ID' \
-F 'client_secret=CLIENT_SECRET' \
-F 'grant_type=authorization_code' \
-F 'redirect_uri=AUTHORIZATION_REDIRECT_URI' \
-F 'code=CODE' \
https://api.instagram.com/oauth/access_token
but is it possible for that to be able to process on an iPhone?
What i'm sort of trying to ask is whether or not you can run terminal commands on iPhone Apps and if so, how am I able to do this? What is the Swift or Objective-C code for this?
Thanks!