From the Basic category, tap the curved line to add it to the page.
Drag one endpoint of the line until it snaps to an object, then drag the other endpoint until it snaps to another object.
If the line doesn’t attach to the object, tap the object, tap Position and align objects in Pages on iPad