+ Start a Discussion
iolblurriolblurr 

iOS Mobile SDK Custom Login

Hi, I installed the iOS mobile SDK and got it working and am able to access objects through soql queries.  I am developing a fully native iOS app.

 

However, is there a way I can programmatically log in rather than having users of the app log in?  I simply need to read data from a few specific objects and update the UI.

 

Or, is there a way I can customize the login view that automatically pops?  I can't have my customer app showing a SalesForce logo.

 

The bottom line is, the customer should never know anything about SalesForce.  Although they may be given a SalesForce account, they will not know what SalesForce is.

 

For example, we obtain a new customer who signs up for our services.  All their data is entered into SalesForce and an account is created for them.  In the app, they need to be able to log in to access data about their account.

Gaurav KheterpalGaurav Kheterpal

You can use this code - https://github.com/BPeddle/SFDC.Custom.Login

 

Details available here - http://brianpeddle.com/2011/06/06/building-a-custom-salesforce-login/

 

I hope this helps.

 

Regards,
Gaurav

Ganesh GuturiGanesh Guturi
@iolblurr, Did you solve your problem? am also having the same problem. Can you please look at this question? https://developer.salesforce.com/forums/ForumsMain?id=906F0000000At08IAC#!/feedtype=SINGLE_QUESTION_DETAIL&dc=Mobile&criteria=OPENQUESTIONS&id=906F0000000AtfGIAS (https://developer.salesforce.com/forums/ForumsMain?id=906F0000000At08IAC#!/feedtype=SINGLE_QUESTION_DETAIL&dc=Mobile&criteria=OPENQUESTIONS&id=906F0000000AtfGIAS
 Please help me. Thanks in advanse.