X-ray absorption spectroscopy study of iridates using HERFD