Top Bar is not Hidden in IOS

Welcome! Forums Unity Plugins In-App Web Browser Top Bar is not Hidden in IOS

Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #23030
    Vin07
    Participant

    Hey,

    Having an Issue with IOS Build. Unable to Hide the Top Bar in IOS.

    Same code works perfectly with Android but once i switch the Platform and build to IOS
    Top bar is not disabled.

    private void Awake()
    {
    InAppBrowser.DisplayOptions options = new InAppBrowser.DisplayOptions();
    options.displayURLAsPageTitle = false;
    options.pageTitle = “InAppBrowser example”;
    options.hidesTopBar = true;
    InAppBrowser.OpenURL(pageToOpen, options);
    }

    This is the code.
    am i missing something?

    can you please support

    Asset Version : 2.0.4
    Unity: 2021.3.15
    Iphone 11

    #23031
    Vin07
    Participant

    also checked the Demo Scene, same problem
    you can find the screenshot hear

    https://github.com/Vinayak0706/Temp/blob/main/Sc1.jpeg

    can you please support

    #23033
    PiotrPiotr
    Keymaster

    Hey,
    I’ve done several tries and cannot reproduce this issue.
    Could you check if it happens when using regular callback function like in DemoScene (not Awake):

    	public void OnButtonClicked()
    	{
    		InAppBrowser.DisplayOptions options = new InAppBrowser.DisplayOptions();
    		options.displayURLAsPageTitle = false;
    		options.pageTitle = "InAppBrowser example";
    		options.hidesTopBar = true;
    
    		InAppBrowser.OpenURL(pageToOpen, options);
    	}

    Another option is Unity botched package import or update and in reality you are using some old version? Could you try to reimport it?

    #23034
    Vin07
    Participant

    Hey Pioter,
    Thanks for your support, was able to resolve by updating the package.
    Thanks a lot.

    #23035
    PiotrPiotr
    Keymaster

    Perfect! Happy to hear that!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.