views:

10

answers:

1

I have been asked to create a small rectangle on the top of a picker component (but inside the picker area) that will hold one word.
I'm not sure if this adheres to Apple HIG but anyway I would like how to implement it as an exercise.

A: 

I believe you would have to resize the frame with initWithFrame or resizeFrame and then insert the new view containing the label you desire.

I have not tried this recently but remember reading ( see blog post ) that in some versions of the iOS resizing the PickerView was not supported

Aaron Saunders