iPhone Safari Debug Console provides Tips

The Safari browser of iPhone has a Debug Console that you can activate using the Settings >> Safarai >> Developer option. This Console provides valuable information on the current page. In addition to pointing out errors (in HTML or JavaScript) it also provides Tips. I was surprised that when I followed the Apple’s own tip to use the meta viewport tag with the width set to 320, that I was in for yet another tip. The Tip in the Console informs me about an HTML Tip on a Line number:

Viewport width or height set to physical device width, try using “device-width” constant instead fo…

The odd thing is you cannot click on this tip to get further information, the string is just cut after fo.... Apple needs to provide a Tip to the Tip writers about the length of tips.

2 Responses to “iPhone Safari Debug Console provides Tips”

  1. George S. Says:

    I had the same problem; I then realized the duh solution: Turn the iPhone sideways and go back to the tip, it will then be viewable.

  2. sj Says:

    Oh yeah. I forgot about that. Thanks for the tip :-)

Leave a Reply