Choosing a template file depending on browser type may be useful when developing WordPress websites.
You can adapt the code below to choose a template file during loading. I place this code on my home.php and create add the include to the file.
Change the name of the file to work in your case.