Every app on the iPhone uses the same Share button for this. What changes is where the button is.
| From | What to tap |
|---|---|
| Tap the attachment, then Share > Save to Files | |
| Safari | Open the PDF, tap Share > Save to Files (or it goes to Downloads when you download it) |
| Messages | Tap the PDF, then Share > Save to Files |
| Open the document, tap Share > Save to Files |
Where it goes
In the Files app, in the folder you chose. Files downloaded in Safari go to the Downloads folder (iCloud Drive or On My iPhone, depending on Settings > Apps > Safari > Downloads). Organize them into folders with New Folder (Apple).
Save it to Books instead
Share > Books opens the PDF in Books and keeps it in your library, good for manuals and long reads (Apple).
Private PDFs: bank statements, IDs, contracts
Files keeps everything in the open for anyone using your unlocked phone. Import the PDF into SafeDoc instead: it goes into the app's folders, which open only with a PIN or Face ID, and you can find it later by a word inside it.