【问题标题】:Uiimageview on storyboard other segue故事板上的uiimageview其他segue
【发布时间】:2012-01-14 18:48:34
【问题描述】:

我有一个带有 uiimageview 和 2 个按钮的 segue 来拍照并从库中选择一个。然后我想去下一个segue,在那里也看到这个uiimageview。

所以我需要将图像从 uiimageview 发送到故事板的另一个 segue。

提前致谢, 蒂姆

【问题讨论】:

  • 你问什么问题?
  • 如何显示我在下一个 segue 中选择的图像。

标签: objective-c xcode uiimageview storyboard


【解决方案1】:

将图像属性添加到第二个视图控制器并在 prepareForSegue:sender: 中进行设置。

有一个previous question 对此进行了详细介绍。

【讨论】:

    猜你喜欢
    • 2012-05-12
    • 2014-01-23
    • 2013-06-30
    • 2012-04-18
    • 2014-10-25
    • 2023-03-14
    • 1970-01-01
    • 1970-01-01
    • 2012-02-15
    相关资源
    最近更新 更多