hello
I would like to know to take those pictures with the light beams from cars and such?
Maybe it was a foggy day?
I think the OP is asking about the photo's of streets/highways that show the headlights or taillights as "Beams" moving down the road..
This is done on a tripod (at night) with a slow shutter speed (depends of how much traffic and how many "beams" you want)...
Your friend with an iPhone must have just taken a picture of a fast moving car at night. I don't know the specs but my guess is the shutter speed on the iPhone is slow enough to catch "beams". at night.