A postsynthetically modified MOF hybrid as a ratiometric fluorescent sensor for anion recognition and detection.