【问题标题】:three20 PhotoVC: changing index of photothree20 PhotoVC:改变照片的索引
【发布时间】:2011-02-06 23:02:18
【问题描述】:

如何设置 T20 PhotoViewer 以将其当前照片从其 photoSource 数组中的某个索引处切换到一张?

与滚动增加索引并显示新照片的方式相同,我想在 init 方法上设置照片索引。

有人知道怎么做吗?谢谢!

【问题讨论】:

    标签: iphone objective-c three20 ttphotoviewcontroller


    【解决方案1】:

    TTPhoto 分配给TTPhotoViewControllercenterPhoto 属性,其中您分配的新TTPhotoTTPhotoSource 中的一张照片。 TTPhotoViewController 会查看新照片的index,并使用它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多