Images from your Apple Photos library can be used as the basis of a new Affinity document or placed as a new layer within an existing Affinity document.
In iPadOS 14.0 or later, you can grant Affinity Photo 2 full and ongoing access to the library, limited access to manually selected photos, or disallow library access altogether.
Your choice can be revised at any time in iPadOS's Settings app.