The metal detector applications using the magnetic field sensor of the iPhone.
If you have any metal objects in the vicinity of the magnetic field varies iPhone.
Holding your iPhone closer to the metal around.
Electronics, and sensitive to the iron material.
The stronger the magnet, please refrain from approaching.
It can be the cause of the failure of the iPhone.