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

41 Views Asked by At

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

0

There are 0 best solutions below