You could try silently writing down which days you saw a student on their phone & which days you taught the specific subject material.
Then when students get it wrong on a test that you grade you can add a comment along the lines of "this was covered on day X when you were on your phone"
You would also then have a nice report for parent student meetings, and the parents can do the enforcing