China's military has said that it “warned away” a US warship that had approached the Nansha islands (or Spratlys) in the South China Sea