If iOS is so popular why aren't there any Malware?

People always say Malicious Software is only written for popular OSes...

Well? So, is iOS not popular enough yet? The iPad is the only real tablet out there.

This makes me question the statement of, "Windows get attacked because it's widely used"

Just wondering.