You need to sign in to do that
Don't have an account?
Ganesh Guturi
How to show back button or set frame to Salesforce login screen in iOS Native app?
I'm showing Salesforce login screen in my iOS native application after loading my root view, but their login screen (WebView) is covering my entire screen and I'm not able to show the status bar and navigation bar at top side. I have written code in willDisplayAuthWebView method as mentioned below
but no luck. Is there anyway to handle this issue. Please help me. Thanks in advance.
- (void)authManager:(SFAuthenticationManager *)manager willDisplayAuthWebView:(UIWebView *)view{ CGRect newFrame = self.view.frame; newFrame.origin.y += 64; view.frame = newFrame; [Self.View addSubview:view]; }and the screen shot is here
but no luck. Is there anyway to handle this issue. Please help me. Thanks in advance.
Somehow I have achived it by adding the following code
In my case its needed as I have a home screen about my company as a first screen and from there I have to show Salesforce login as second view. If user wants to come back to my first screen then he/she can come easily now.
All Answers
However I am not able to do on the fly changing of the endpoint for the application in iOS..
Somehow I have achived it by adding the following code
In my case its needed as I have a home screen about my company as a first screen and from there I have to show Salesforce login as second view. If user wants to come back to my first screen then he/she can come easily now.