So I have been noticing with a slight tap near the camera makes a rattling noise. When I put my phone down I hear a rattle aswell.
iPhone 6 camera rattles with a slight tap
iPhone 6i would take it into apple and let them have a look
Original thread: https://forums.imore.com/threads/iphone-6-camera-rattles-with-a-slight-tap.348810/