作者darling1108 (Thousand)
看板MacDev
標題[問題] tableview 傳值 圖片以放上
時間Fri Jan 20 17:21:28 2017
我的畫面是A=>B 想從B 傳值回去A 並且A表格會出現資料,目前已經使用delegate傳成功
數值過去,但 tablevew的畫面還是無法顯示出來,不知道為什麼!! 不知道reloaddata
要放在哪裡,拜託大家了~
http://imgur.com/a/LJABH
http://imgur.com/a/RYT1Y
http://imgur.com/a/CQT0l
拜託大家了!!
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 223.137.52.21
※ 文章網址: https://webptt.com/m.aspx?n=bbs/MacDev/M.1484904090.A.89F.html
1F:推 haves560: 可以的話放上程式碼這樣大家才好幫你解答 01/20 17:36
2F:→ bigbearlazir: 用Notification Center? 01/20 19:35
3F:推 Ghosso: viewDidAppear或是delegate 01/20 20:40
4F:→ k77383: reloaddata確定是在main thread裡嗎? 01/20 21:12
5F:推 otaku5566: 放viewDidAppear試試 01/21 04:12
6F:→ otaku5566: 阿更正一下,我通常在A裡面的protocol method裡reload 01/21 04:24
7F:推 yuan0723: Notification Center 之前試過可行 01/21 13:01
8F:推 darktt: 不建議使用Notification Center,這個使用delegate就可以 01/21 17:09
9F:→ darktt: 了 01/21 17:09
※ 編輯: darling1108 (114.42.216.120), 01/21/2017 17:46:54
※ 編輯: darling1108 (114.42.216.120), 01/21/2017 17:47:06
10F:→ Ghosso: 你append完就可以reload了~ 01/23 00:20