I'm having the same issue in iOS 16.3.1 and Unity 2021.3.20f1. When I tap the screen, the framerate temporarily drops. The solution from Unity here doesn't work for me either.
I have an android version of my app and it never drops framerate when tapping the screen. This does seem like an iOS bug or something with Unity's method of creating the Xcode project. But since others are seeing the same thing in Cocos2D, then likely just an iOS thing.
This is making me bonkers, it's a bummer that the Android version of my game is outperforming my iOS version.