Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

yyy

macrumors regular
Original poster
I've just started programming for the iPhone and I have a simple question:

I have a view with some content in it and I want to add a UIPickerView to it. I know how to add the picker view but then it stretches all over the screen even if I resize it in Interface Builder.

So do I need to put the UIPickerView in a separate view controller? Or should I resize it somehow so that it doesn't fill the whole screen?
 
That's not what I was looking for but thanks anyway.

Actually I had to connect the IBOutlet I wrote in Xcode with the UIPickerView object in Interface Builder.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.