Use a Tripod
Snapping a picture in a dark environment typically uses a slower shutter speed to capture more light. Because of that, low-light photos are often blurry — even if you’re holding the smartphone relatively still.
You can mitigate this by investing in a good smartphone tripod. But if you’re desperate, just try to hold the iPhone as steady as possible or stabilize the iPhone on a surface using a book or something similar.