I am new as a WordPress developer. I have built one website with WordPress, now I have a problem that I want to open 2 different pages for Android and iOS devices.
I have searched around but did not found what was i looking for..
like:
if iOS then
this code
if Android
this second code
Is that possible in PHP? If yes then how?
I also have Android and iOS apps, and I want to open app direct into App Store or Play Store, like when users for both devices click on the link they will redirect to my app in the Play Store or App Store using detection of iOS and Android.
You should check out this answer: Get operating system info with PHP. You should be able to extract the information you need from this to determine whether a user is viewing your webpage on an Android or iOS device, as well as the various other operating systems on the market.