An electrochemical method was used to prepare polyaniline-coated meshes with controllable pore size.
Polyaniline-coated meshes show underwater superoleophobic and underoil superhydrophobic properties.
The coated meshes can effectively separate surfactant-stabilized water-in-oil and oil-in-water emulsions.
The membranes with excellent antifouling have promising potential for on-demand oil/water separation.