Has anyone come up with a solution to force full screen on iOS when opening a website? I create virtual tours and need all the screen real estate I can get. There must be a way to include a meta tag or script to force Safari on iOS to open on full screen. I know that iOS doesn't have a full screen API, still don't understand why not :(
Force full screen on iOS
Not full screen: what do you get exactly ?
have you checked that the viewController presentation is set to full screen and not automatic ? You can check it in IB.
In code, I tried the following:
It hides the top and bottom bar but not goes really fullscreen.
have you checked that the viewController presentation is set to full screen and not automatic ? You can check it in IB.
In code, I tried the following:
Code Block vc.preferredBarTintColor = .clear vc.preferredControlTintColor = .clear vc.preferredContentSize = CGSize(width: 800, height: 1500) // No visible effect though present(vc, animated: true)
It hides the top and bottom bar but not goes really fullscreen.