The Duke of Sussex visited South Africa, representing the charity he founded in 2006.