A series of halogen containing isoreticular metal–organic frameworks (IRMOFs) were synthesized via a liquid-assisted grinding method. The luminescence properties of these frameworks were described for nitrobenzene sensing. This investigation revealed the prominent roles of frontier molecular orbital energies of the linkers, substitution polarizability and structural parameters in the ability of IRMOFs to sense nitrobenzene.
