To enable the feature in safari:
Inspect element ios. Tap on the address bar at the top, type the website. I mean, it's not inspect element,b but it'll do and it works inside safari, which is what i need! Enable web inspector on ios.
To do this, open the settings app and select ‘safari’. It will enable the option inspect element. To inspect elements on ios, we’ll need an iphone, apple computer and a usb cord that connects them.
When you right click the page. To select items on the page to display in the tool, click the compass icon in the toolbar. After clicking on contacts, we will see the image below (here we have chosen the favorite tab and refresh the page from the inspector).
When the installation finished, open the app. This will give you access to the ios simulator in safari with different web views for a number of different devices and configurations. Now open safari on the device and open the webpage you.
I really didn't want to have to open the website outside safari. Enable show developer menu in safari's preferences, advanced tab. We can easily determine its element selector to be:
Make sure to select your device or simulator in the dropdown. It's super easy and you can use a google chrome or any. Select the device you wish to test on.