Yes, iframes are bad for SEO. However, if one has no choice but to use iframes, there are technical SEO workarounds, such as using an XML sitemap..
Each iframe has a distinct URL associated with it. One can get iframe contents indexed by placing each iframe URL into an XML sitemap.
The XML sitemap in turn, lets Google download each iframe URL and index the URL for ranking and serving purposes.