I can't believe AC hasn't provided a solution while still making the customer pay for it....
Velcro strips! $10.99 per pair. Or even just one part with the other strategically placed on certain surfaces for customer convenience.
In all seriousness, I think a little care will cover the vast majority of issues like this. The baby smacking the phone/tablet away not so much. But for the rest, a little common sense...