Open webpage in fullscreen in Safari on iOS

0 votes
There is a fullscreen mode in Safari on iOS. Is it possible to activate this through javascript?
Nov 3 in IOS by Soham
• 9,670 points
46 views

1 answer to this question.

0 votes

No, javascript cannot be used to switch between a fullscreen and normal mode in Safari on iOS.

The following meta tag must be included, and the page must be launched from a bookmark on the home screen, for it to operate in fullscreen mode:

<meta name="apple-mobile-web-app-capable" content="yes">

However, you can detect if the page is running in fullscreen mode or not with javascript using the read-only property:

window.navigator.standalone
answered Nov 4 by Rahul
• 9,680 points

Related Questions In IOS

0 votes
1 answer

what font face of clock on lock screen of iPhone (iOS 9)?

San Francisco is the default font in ...READ MORE

answered Sep 20 in IOS by Aditya
• 7,660 points
80 views
0 votes
0 answers

How I can open native alarm clock in iphone by using code?

I need to create a sample app ...READ MORE

Sep 22 in IOS by Soham
• 9,670 points
43 views
0 votes
0 answers

What is the equivalent of apk in iOS?

What is the equivalent of apk in ...READ MORE

Sep 27 in IOS by Soham
• 9,670 points
35 views
0 votes
0 answers

iOS: Torch level on iPhone 11 Pro

I'm using the AVCaptureDevice.setTorchModeOn(level) method to turn ...READ MORE

Sep 27 in IOS by Soham
• 9,670 points
53 views
0 votes
0 answers

Open webpage in fullscreen in Safari on iOS

There is a fullscreen mode in Safari ...READ MORE

Nov 22 in Mobile Development by gaurav
• 22,040 points
13 views
0 votes
1 answer

How do I create folder under an Amazon S3 bucket through PHP API?

Of Course, it is possible to create ...READ MORE

answered Apr 24, 2018 in AWS by anonymous
9,674 views
0 votes
1 answer

Presenting docket dtates inside html page by javascript

Use the Docker Engine Api:Docker Engine API ...READ MORE

answered Jun 20, 2018 in Docker by DareDev
• 6,890 points
256 views
0 votes
1 answer

Migrating proxy npm repo in nexus 3

I don't think you can achieve this ...READ MORE

answered Jun 22, 2018 in DevOps Tools by DareDev
• 6,890 points
885 views
0 votes
1 answer

How to build a font generator in iOS Swift and allowing pasting to clipboard

On your iPhone, you cannot copy and ...READ MORE

answered Sep 22 in IOS by Rahul
• 9,680 points
81 views
0 votes
1 answer

How do i open Google Maps for directions using coordinates on the iphone

There is a chance. Employ MKMapView Using ...READ MORE

answered Nov 8 in IOS by Rahul
• 9,680 points
38 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP