You can view the hidden photos in the Utilities section of the new Photos app in iOS 18. Once you're in the Hidden photos album, you can unhide the required photos and videos using the "..." ellipsis ...