More than 1 year has passed since last update.
<input type="text" id="text"/>
$('#text').on('click', function(e) {
  e.target.setSelectionRange(0, e.target.value.length);
});

iosがjQueryの.select()使えないのでこれで