A high-visibility patrol by South Yorkshire Police has resulted in the arrest of a 23-year-old man.