【问题标题】:How to call the picker view content in a table view?如何在表格视图中调用选取器视图内容?
【发布时间】:2010-12-03 15:07:10
【问题描述】:

如何在表格视图中调用选择器视图内容..有什么方法可以调用选择器视图内容吗?请帮助我...

【问题讨论】:

  • 需要对您要执行的操作进行更多解释。

标签: iphone cocoa-touch uitableview uipickerview


【解决方案1】:

我认为您会使用此委托将您的内容放入选择器。

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

我认为 yourPickerContentArray 会有选择器的内容。你为什么不在你想要的地方使用那个数组呢。

【讨论】:

    猜你喜欢
    • 2013-12-26
    • 1970-01-01
    • 1970-01-01
    • 2016-04-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-06-17
    相关资源
    最近更新 更多