Can user copy link to clipboard in mobile safari?
There is a link to another page. I want the link to be copied to the user's clipboard when the button is clicked. It works in Safari on MacBook, but not on iPhone. I am using execCommand ("copy"). And most importantly, when I call alert (document.queryCommandSupported it comes out true.
I suggest connecting some JS plugin, for example this https://clipboardjs.com/Anonymous
To place the code, please use CodePen or similar tool. Thanks you!