Your UIPickerView
will center in its own size. So if you manage to make it resizing with the cell, it should be good.
Problem here is that you define a fixed width for your picker view. If you want it to work , you need to set the good width in each situation.
You can manage to do it by :
looking about the device (so you set the width of the screen) ; It's the easy but dirty solution
set a resizing mask to your
UIPickerView
so it resize with the cell ; It's a hard solution, but correctuse AutoLayout so your
UIPickerView
will be constraint to the cell width ; It's the nice solution, but restricted to iOS6 and more