If you confiscate all iPads from kids, you'll be treating the symptom instead of the cause. I got to play outside a lot when I was a kid. I had a wooden swing set and a plastic swimming pool and a Little Tykes sandbox. But I was lucky because I lived in the suburbs, and I had enough space around my house to play, and I lived in a safe environment. Not all kids have that. Lots of kids live in apartment complexes with not a single blade of grass next to the building they live in, and worse, those environments are very dangerous to live in. That's why wealthier people spend more time with screens than poorer people.
So the real solution is a lot more complicated. If we can't get people out of bad neighborhoods, we should try to get the people in those bad neighborhoods to stop having so many kids, especially if both parents have to work two jobs and have little to no time to spend with those kids. The easiest way out is not always the best way out.