This is what I use and for me this is works:
$message = \Swift_Message::newInstance()
->setSubject($subject)
->setFrom($from)
->setTo($emailAddress)
->setBody(
$this->templating->render(
$template.'.txt.twig',
$parameterArray
)
)
->addPart(
$this->templating->render(
$template.'.html.twig',
$parameterArray
),'text/html'
);