Why are iOS Tablets not considered ios?


Hello Fellow developers!

Been a while!

Once again I’m having problems with iOS (who would have thought) and especially video playback.

I noticed that for ios I have to use

video.addEventListener('loadedmetadata',function() {
    //do stuff

in order to find out if a video is loaded.

Now this only works for me on iOS and I use an if to check if it is an iOS device.

   //Bind the loadedmetadata function

But Tablets do not seem to be considered as ‘ios’ devices and the pc.platform.ios returns false.

Anyone got an idea how to handle this ? Can I just bind this method no matter what ?

Thank you


wait we can set our game sto certain platforms in code?


This may provide an explanation about why pc.platform.ios is now set to false for iPad with iOS 13:

Maybe the current test for ios should be updated in the PlayCanvas engine source: