mercredi 31 août 2016

Swift - How to find <img> tag and its attribute 'src' in HTML string

enter image description hereI have an HTML string which I extracted from url. I need somehow find first <img> tag. In a nutshell I need to implement querySelector('img').getAttribute('src') in swift. Any suggestions?

Aucun commentaire:

Enregistrer un commentaire