I understand you are not able to print from your iOS device. Let us try these steps:
Restart the wireless router, the printer, and the iOS device.
Make sure the printer and the iOS device are connected to the same wireless network.
If you have a Dual-band router and both 2.4GHz and 5GHz networks share the same name/SSID, the printer will not be able to connect to the network. In this case, contact your Internet service provider to assign different names to both the networks.
Also, check with your Internet service provider if your router is able to forward 'Bonjour packets'.
Bonjour locates devices such as printers, other computers, and the services that those devices offer on a local network using multicast Domain Name System (mDNS) service records. The software comes built-in with Apple's macOS and iOS operating systems.
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".