-
Notifications
You must be signed in to change notification settings - Fork 421
Sample Apps
We've provided a few sample apps to help you get started with iOS development for Force.com and Database.com:
This native app shows how you can access the Salesforce REST API from a native app, and gives you a few default queries to run.
This app shows how to access local device data from HTML using APIs included in the SDK, including PhoneGap/callback-ios.
The Visualforce Connector sample app shows you how to connect with an existing Visualforce page in your org. By using the Salesforce Mobile SDK with the Visualforce page you may take advantage of any PhoneGap features you desire including address book access, camera access, and so forth.
When you create a new app in Xcode using the "Native Force.com App" template, the default RootViewController created for you simply runs a SOQL query. You can then modify this to access the specific data you desire.
When you create a new app in Xcode using the "Hybrid Force.com App" template, the default index.html page sets up an app nearly identical to the ContactExplorer sample app.