You need to sign in to do that
Don't have an account?

How to show Salesforce login screen on my existing iOS app?
Hi All,
I have integrated "SalesforceMobileSDK-iOS-Distribution" in my existing iOS application but I am not getting from where to start it to get the login screens and which class gives me a login screen of salesforce.
My scenario is very simaple:
Can you please help on this. Thanks in advance.
I have integrated "SalesforceMobileSDK-iOS-Distribution" in my existing iOS application but I am not getting from where to start it to get the login screens and which class gives me a login screen of salesforce.
My scenario is very simaple:
- I have a home screen in my application and from there I have to navigate/show thire (Salesforce) login screen.
- User will enter username and password.
- Salesforce shoud validate and redirect (back) to my HOME screen with token/sessionID.
- That token/sessionID will use internally in my application.
Can you please help on this. Thanks in advance.

Checkout the instructions and code samples on how to initiate the salesforce login via Mobile SDK. https://github.com/forcedotcom/SalesforceMobileSDK-iOS-Distribution/blob/master/README.md