Preparation of size-tunable Fe3O4 magnetic nanoporous carbon composites by MOF pyrolysis regulation for magnetic resonance sensing of aflatoxin B1 with excellent anti-matrix effect.