How to detect if the device is iOS

Posted on: October 3rd, 2022
By: Tadeo Martinez

One thing to note is that if you change the name of the function it won’t work.

function iOS() {
	if(iOS){
		alert('hello user');
	}
}

iOS();

Have any questions or comments? Write them below!


Leave a Reply

Your email address will not be published. Required fields are marked *