I am creating an iPhone application that uses salesforce as a server-side data component. I need to access the database from the application to retrieve data for any user entering the application, for this I need to authenticate using Sales force.
I am using the Rest API template, which was available in Xcode after installing SalesForce, but I keep getting the following:

Is there a way so that I can log in to salesforce programmatically? I would like our use of Salesforce to be behind the scenes, so that our users never have to interact directly with the seller himself, is there any way to do this?
source share