Auto Focus issue on web in iphone and ipad

Hai guys,

I'm trying to do autofocus on the search input while user clicks the search icon but its not working as expected in iPhone and iPad so go through some blogs and stackoverflow they mentioned the apple has removed the focus() from touchable device for usablity reason is anyone come up with the same issue or having solution for this kindly share. That must be helpful for me.

Auto Focus issue on web in iphone and ipad
 
 
Q