It's a female!
This is a female fetal pig viewed from a ventro-posterior viewpoint. Note the umbilical cord and the two rows of nipples (mammary papillae) on the ventral surface.
In the female, both the urogenital tract and the digestive tract exit at the anal region. Only the female has a urogenital papilla; it is ventral to the anus. Click for a closer view of these two openings.