iT邦幫忙

0

封包傳值問題

https://ithelp.ithome.com.tw/upload/images/20210725/20139278nK944dSlED.pnghttps://ithelp.ithome.com.tw/upload/images/20210725/20139278bVAcKLhnSB.pnghttps://ithelp.ithome.com.tw/upload/images/20210725/20139278IjNKdrhNWA.pnghttps://ithelp.ithome.com.tw/upload/images/20210725/20139278fR6kZELLsR.pnghttps://ithelp.ithome.com.tw/upload/images/20210725/20139278BdikTSkWRH.png
已經有傳值了,但為什麼detailTextLabel的地方還是nil?

YC iT邦研究生 2 級 ‧ 2021-07-28 16:36:26 檢舉
detailTextLabel是幹嘛的?
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

0
海綿寶寶
iT邦大神 1 級 ‧ 2021-07-26 09:49:25

你沒有貼出關鍵「傳值/接值」部份的程式碼
根本無從debug起
還是你也不知道在那裡傳值/接值?

假設你從 A 把值傳給 B
你在以下兩個地方加上 NSLog 去顯示你傳的值
1.在 A - 啟動 B 之前的最後一列
2.在 B - 一啟動就顯示,看有沒有接到

我要發表回答

立即登入回答