Here's a link that shows how to make a non-clickable element such as a div "clickable" in iOS safari: how to set cursor style to pointer for links without hrefs
Very helpful, however I have some pop-up messages that can be cleared via a little close button or closed when a user clicks anywhere outside the message window. It works great on desktop, but I'm wondering if there is any way to get iOS to detect a click on the body--that is, anywhere that isn't the message. I toyed with something like
body{
clickable: pointer;
}
But that (predictably) turns the desktop pointer into the hand everywhere and doesn't seem to work in iOS anyway.