In Apple’s Case Design Guidelines, there are sections on Sensor Considerations and Magnetic Interference, including the line, “Apple recommends avoiding the use of magnets and metal components in cases.”
There’s also specific mention of the iPhone 6 Plus, because of potential problems magnets...