Document loader PDF is overlapping with the Status bar in the Xamarin forms iOS


The document overlaps with the status bar when the screen navigates to open the URL with the document loader.
And we don’t have control over the document screen. How to resolve it

    private async Task OnGoToTermsAndConditions()
    {
        DependencyService.Get<IOrientationInterface>().DisableRotation();

        if (CultureInfo.CurrentUICulture.TwoLetterISOLanguageName.ToLower() == "fr")
            await _documentLoader.PreviewDocument(new Uri("https://MockURL/securefiles/TermsAndCondition_fr.pdf"), "TermsAndCondition.pdf");
        else
            await _documentLoader.PreviewDocument(new Uri("https://MockURL/securefiles/TermsAndCondition.pdf"), "TermsAndCondition.pdf");

        DependencyService.Get<IOrientationInterface>().EnableRotation();
    }

enter image description here

Here DONE button is over lapped with the time.

Thanks in advance

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img