Altura UIPickerView não alterável [duplicado]

Esta questão já tem uma resposta aqui:

Como alterar a altura do UIPickerView 28 respostas

Estou tentando mudar a altura do PickerView

self.pickerView = [[UIPickerView alloc] init];
self.pickerView.frame = CGRectMake(0, 0, frame.size.width, frame.size.height);

O log do Xcode mostra a seguinte mensagem:

-[UIPickerView setFrame:]: invalid height value 274.0 pinned to 216.0 

Como posso mudar sua altura?