Hold the phone plumb. The guide is a roof peak (Λ): plumb centerline + left/right slopes. Match the slopes to the roof ridge, then tap a pitch below.
Use the rear camera outdoors. Match the roof-shaped guide to the ridge.
Camera needs HTTPS (or localhost). Open this site over a secure URL.