【问题标题】:send data from viewController to tableViewCell without using segue不使用 segue 将数据从 viewController 发送到 uitableViewCell
【发布时间】:2020-07-31 18:26:18
【问题描述】:

嗨,我试图在来自不同 storyBoard 的两个 viewController 之间传递数据。像这样我想在不使用 segue 的情况下将图像和标签传递给 tableViewCell 。我该怎么做?enter image description here

【问题讨论】:

标签: swift tableview


【解决方案1】:

欢迎来到堆栈溢出的世界。?

有很多方法可以在视图控制器之间传递数据。最喜欢的是DelegatesNSNotificationCenter

请查看this 文章。你会明白的。

【讨论】:

    猜你喜欢
    • 2015-04-04
    • 2014-10-13
    • 2019-08-12
    • 2016-05-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-31
    • 1970-01-01
    相关资源
    最近更新 更多