Efficient and simultaneous capture of iodine and methyl iodide achieved by a covalent organic framework