The short answer
What the four schools say
-
Ḥanafī الحنفية
For a pregnant woman, in every case, the iddah is the delivery of all of her pregnancy.5
-
Mālikī المالكية
Her iddah, after a death or a divorce, is the delivery of all of the pregnancy, even if it comes a moment after the divorce, whether one child or more.4
-
Shāfiʿī الشافعية
It ends with the delivery, once all of it has left her, even the second of twins.3
-
Ḥanbalī الحنابلة
Her iddah does not end except by delivery; Ibn Qudāmah reports that the scholars of every age agree on this for the pregnant divorced woman.2