A new calix[4]azacrown is synthesized from 1,3-dipropynyloxycalix[4]arene in a good yield of 85% and was modified on a silicon surface via click chemistry to be a switchable wettability sensor for ion pairs ([C4mim]Cl). A cooperative mechanism involving supramolecular interactions is proposed.