The new generation iPhones, which should arrive on the market this autumn even if with a little delay compared to the usual roadmap, may contain small magnets; and the same could be done by the official houses. Some alleged photos of the internal components and of the dismantled housing have been circulating on the net in the past few hours; here they are below. Of course, establishing the authenticity of the parties is very difficult, so it is information to be taken with due caution.
Their purpose is currently unknown, but there is speculation that they may have to do with wireless charging. It is believed to be even the solution that allowed AirPower to "come back to life", so to speak. The multiple charger had been promised by Apple some time ago, but the company later realized that it was unable to solve some conceptual problems that led to excessive overheating of the devices involved – the Apple Watch, in particular, even risked explode and go on fire. The magnets could "guide" the devices at the coils of the charging pad, so as to keep the latter well spaced thus limiting overheating. Since wireless charging must also work with a case, it makes sense that the magnets are also provided there.
Another theory assumes that this allows iPhones to better manage the reverse wireless chargingor the ability to use phones as chargers for other products, such as AirPods headsets. Here too the magnets would ensure optimal positioning avoiding unnecessary energy loss.