Uniform zwitterionic polymer hydrogels with a nonfouling and functionalizable crosslinker using photopolymerization.