Thank you for the question. I found an article that addresses a purple spot that might appear when taking pictures with the iPhone camera:
A purplish or other colored flare, haze, or spot is imaged from out-of-scene bright light sources during still image or video capture.
Most small cameras, including those in every generation of iPhone, may exhibit some form of flare at the edge of the frame when capturing an image with out-of-scene light sources. This can happen when a light source is positioned at an angle (usually just outside the field of view) so that it causes a reflection off the surfaces inside the camera module and onto the camera sensor. Moving the camera slightly to change the position at which the bright light is entering the lens, or shielding the lens with your hand, should minimize or eliminate the effect.
You can find the full article here:
Thank you for using Apple Support Communities.
I had the same problem with my iphon 5
i tried everything to get these dots away.
So i went to a apple store and they told me it wont come out.
You have to either swap the camara(lense) or if u still have your warranty you will get a brand new one.
Good Luck with your problem
With kind regards
I also have the dreaded purple spots in every pic. The genuis bar at apple can not help. A phone today with no camera is no use to anyone. Apple, please contact me to make this right. So many people are having this issue. Please, pretty please. I need my phone and camera on vacation in Banff Canada. Apple please................