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.
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.
CheersAditya
精彩评论