【问题标题】:UIPicker reloading contentUIPicker 重新加载内容
【发布时间】:2010-05-19 10:07:59
【问题描述】:

我的 UIPicker 有问题,我将我的 Picker 保留在导航控制器中。我希望在导航控制器推送 PickerView 时重新加载 Picker 内容。

但是pickerview内容在所有导航中保持相同的状态..如何改变这个?

【问题讨论】:

    标签: iphone cocoa-touch uipickerview


    【解决方案1】:

    除非我误解了你的问题,你可能想看看http://developer.apple.com/iPhone/library/documentation/UIKit/Reference/UIPickerView_Class/Reference/UIPickerView.html#//apple_ref/doc/uid/TP40006842-CH3-SW10

    重新加载视图选择器

    – reloadAllComponents
    – reloadComponent:
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-10-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-06-23
      • 2013-03-03
      • 2016-08-04
      相关资源
      最近更新 更多