This article explains how to trust an app on iPhone. Instructions apply to iOS 9 and later.
How to Trust an App on iPhone! (2022)
You should trust the creator of the app as well as the source of the download. If you are not sure, do not trust the app as your personal data and iPhone could be at risk.
Download and install the app.
When you tap the app to open it, a message will inform you that the app developer is not trusted on iPhone. Tap Cancel to dismiss the message.