Wifi connection problem

About two months ago my APO dropped its Wifi connection–about the same time I got a new router.
Blamed the router and APO for not supporting new mesh router technology.
Turns out the problem was simply that an “Ask to join networks” switch on my iPad Pro had been turned off somehow. Same switch (hence the same potential problem) is also on the iPhone.