So I have a uipickerview with rows that only contain the number 0-24 and it looks a bit silly since the numbers are left aligned leaving a huge gap on the right of the picke
It took me a long time to realize I'm just missing this single line of code:
pickerView.autoresizingMask = .flexibleWidth