开发者

UIPickerview in iphone

开发者 https://www.devze.com 2023-02-01 13:24 出处:网络
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?

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

精彩评论

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