I’ve suffered this problem for well over a year and with my iPhone 7, not my iPad. As you point out, other devices work fine (iPad, MacBook Pro), so its not the router. Besides which, it happens everywhere. I can’t go asking hotels, restaurants, cafes etc: “please reset your router”. I took my phone into an AppleStore; they tested and said “no hardware fault. Try backup, factory reset, restore”. I did that and it ‘seemed’ to help for a brief while.
The device simply drops WiFi when it feels like. Sometimes when the device sleeps and is subsequently woken. Sometimes whilst I’m physically using it. Most frustrating. Check out the screenshots. Often WiFi disconnects & is either off or even grayed out, so I can’t re-enable, other times the WiFi settings show me as connected, but the status bar shows me as on 3G/4G or whatever. Switching WiFi sources, toggling various settings or even rebooting the device are usually needed to get WiFi functioning again.
Gone are the days of: “...and it just works”. I would suspect faulty hardware. But if their tests aren’t smart enough to detect it... or, worse still, your device behaves when they do... *** you gonna do?

