You can prevent HiddenApp for iOS from being uninstalled with ScreenTime restrictions by following these steps:

Navigate to settings

Go to Screen time

Content and Privacy Restrictions

Make sure Content and privacy restrictions are enabled and go to iTunes & AppStore Purchases


Go to Deleting apps


Set it to don’t allow

Related: