Apple yesterday presented a patent made public for a keyboard that resists crumbs. The patent describes two different ways in which a keyboard can hold dirt, either by sealing gaps or by having a membrane under each key that would expel air each time a key is pressed, eliminating unwanted debris.
From the figures shown in the patent, it is clear that Apple is considering many different approaches and alternatives to create a crumb-resistant keyboard. The patent was filed on September 8, 2016, just one day after the company officially announced the iPhone 7 and iPhone 7 Plus.
As background of the patent, Apple pointed out that the mobile keys of a keyboard can be damaged with liquid or solid particles. In particular, he noted that "the residues of such liquids, such as sugar, can corrode or block electrical contacts [and] prevent the movement of the keys when joining the moving parts".
Although we now know that the 2016 patent exists, there is no guarantee that the technology will reach the market.