lately things don't seem the same,
actin' funny but I don't know why
'scuse me while I kiss the sky.:
Purple Haze Lyrics by Jimi Hendrix
camera. Specifically, it is generating a purple flare around bright objects. One of the features that was changed with the iPhone 5 camera was the addition of a sapphire lens. Sapphire is harder than glass but like most transparent things harder than glass, it also has a higher index of refraction. The higher index means that an uncoated lens will have higher surface reflections and higher scattering, particularly for blueish light. Even in the lens of your own eye, blue light tends to scatter more than red which is why many sun-glass brands switched from green to red or orange and why black and white photos tend to be clearer with a 25A red filter on the camera.
Apple may have had the lens coated and the coating gets worn off or was not properly done. The camera being digital, it should be possible to implement a software fix. The sapphire lens was probably implemented in response to a customer issue and is likely to to stay. The image above is a Hendrix album cover and obviously not taken with an iPhone 5 camera.