Swift IOS UIDatepicker – UIDatepicker displaying incorrectly

So I have started taking over some of the development for an IOS app which I am still quite new at so just curious as to where to start looking for an issue such as this?

When calling the datepicker, I am not sure if this is constraint related or not and would appreciate any sort of heading.

example