开发者

UIPickerview in iphone

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.

UIPickerview in iphone

Cheers

Aditya

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜