I'm showing Salesforce login screen in my iOS native application, but their login screen (WebView) is covering my entire custom 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

- (void)authManager:(SFAuthenticationManager *)manager willDisplayAuthWebView:(UIWebView *)view{

    CGRect newFrame = self.view.frame;
    newFrame.origin.y += 64;
    view.frame = newFrame;
    [Self.View addSubview:view];

enter image description here

but no luck. Is there anyway to handle this issue. Please help me. Thanks in advance.

1 Answer 1


Take a look at this sample app that I created, to demonstrate launching the authentication view in a UIPopoverController. It should hopefully provide the basics for how you can generally customize your login view experience in your native app.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .