Option 1: a Shortcuts shortcut (free, built in)
- Open Shortcuts and tap + to create a shortcut.
- Add Select Photos and turn on Select Multiple.
- Add Combine Images and set the mode to Horizontally.
- Add Save to Photo Album.
- Run it, pick the two photos and find the result in Photos.
Apple explains how to build a custom shortcut (Apple), and iPhone Life describes this combine-images shortcut for side-by-side photos (iPhone Life). The photos are joined at their original sizes, so if their heights differ the result has uneven edges: crop both to the same shape first.
Option 2: Freeform
Freeform, Apple's board app, lets you drop photos on a canvas and drag them next to each other; then share the board as an image. It is free-form, so lining up exactly takes care (Apple).
Option 3: a collage app
A collage app sets both photos to the same height and adds an even gap, which is what most people want for comparisons and couple photos.
Side by side or one above the other?
Side by side suits portraits (two people, two outfits). Stacked suits landscapes and before-and-after of rooms. In the shortcut, choose Vertically to stack.
Where iPhotos helps
iPhotos has a Side by side layout, plus Stacked, Wide left and Half & Half: pick one, choose two photos, drag and pinch each to frame it, and set spacing, corners and border in Style. Each photo fills its half, so the edges always line up. Save in Post (1:1), Portrait (4:5) or Landscape (4:3).