Is it true that the contraceptive pill dries your milk up?

First time mum so no hate please. Just trying to get some after birth knowledge.

A midwife told me the other day that if you plan on breast feeding you can not go on the contractive pill as it dries up your milk. I just wondered if anyone else had been told this.

Vote below to see results!