开发者

How to call the picker view content in a table view?

开发者 https://www.devze.com 2023-01-28 13:21 出处:网络
how to call the picker view content in table view..is ther开发者_StackOverflow社区e any method to call the picker view content?pls help me...I think you would have used this delegate to put your conte

how to call the picker view content in table view..is ther开发者_StackOverflow社区e any method to call the picker view content?pls help me...


I think you would have used this delegate to put your content into the picker.

- (NSString *)pickerView:(UIPickerView *)pickerView titleForRow:(NSInteger)row forComponent:(NSInteger)component
{
    return yourPickerContentArray;
}

I think that yourPickerContentArray will have the content of the picker. why dont you use that array where you want.

0

精彩评论

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