0

How to reduce the size of UIPickerview in a subView? I am reducing the CGRectMake(120, 20, 60,25). But it appears in the normal size. What i do now?

Some One help me.

Thanks in Advance.

1 Answers1

0

Use the delegate method below

- (CGFloat)pickerView:(UIPickerView *)pickerView widthForComponent:(NSInteger)component

This will resolve the issue.You can also refer the same from apple documentation.

alt text Cheers

Aditya

Aditya
  • 4,414
  • 5
  • 29
  • 40