views:

32

answers:

1

Should be simple to find out right? Where in the Apple docs does it list any default values for various UI components?

I've tried calling the protocol's method:

CGFloat width = [self pickerView:pickerView widthForComponent:0];

...but no luck. How do i find out this default value?

A: 

I haven't tried this before but maybe...

viewForRow:forComponent: http://developer.apple.com/iphone/library/documentation/uikit/reference/UIPickerView_Class/Reference/UIPickerView.html#//apple_ref/occ/instm/UIPickerView/viewForRow:forComponent:

then get the width from the UIView returned

Aaron Saunders