From the course: JavaScript: Progressive Web Applications

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Test the PWA in the iOS Simulator

Test the PWA in the iOS Simulator - JavaScript Tutorial

From the course: JavaScript: Progressive Web Applications

Start my 1-month free trial

Test the PWA in the iOS Simulator

- [Instructor] If you're on a Mac, you can see what the PWA looks like on an iOS simulator. Note, you must install xCode to get access to the iOS simulator. Xcode is available in the app store, just do a search for Xcode and it should be the first app displayed. Install Xcode version 9.3 or greater and the iOS SDK 11.3 or greater. You'll need OSX High Sierra to run both of those pieces of software. Before we do that though we're gonna need to add some code to our HTML file to make it iOS compatible, so we're gonna need to add two meta tags and a link tag. Let's navigate into our HTML file and I'm gonna put both of those just inside the closing head tag. So the first one is a meta tag, in this case the name is Apple Mobile Web App Capable and for these attributes they're going to all have dashes in between the words. So name equals and then it's apple-mobile-web-app-capable apple-mobile-web-app-capable and the content for that one is just yes. So that's the first meta tag the second…

Contents