input.select() does not work on iOS

The recommended method to give a text field focus and select its contents is the following: document.getElementById(‘myInput’).select(); However, this does not work in iOS. The correct way to do it is to use setSelectionRange on an already focused input. var input = document.getElementById(‘myInput’); input.focus(); input.setSelectionRange(0,99999); setSelectionRange will not work on iOS if the element doesn’t […]

How to preview your PSDs on your iPhone

If you wish to see how your designs would look like on a mobile screen with very little overhead, I recommend you try LiveView. I’ve been using it to compare a mobile website with the original designs, and it’s working great for me. LiveView takes a part of your screen and broadcasts it to connected […]