看板 MacDev 關於我們 聯絡資訊
我的畫面是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://www.ptt.cc/bbs/MacDev/M.1484904090.A.89F.html
haves560: 可以的話放上程式碼這樣大家才好幫你解答 01/20 17:36
bigbearlazir: 用Notification Center? 01/20 19:35
Ghosso: viewDidAppear或是delegate 01/20 20:40
k77383: reloaddata確定是在main thread裡嗎? 01/20 21:12
otaku5566: 放viewDidAppear試試 01/21 04:12
otaku5566: 阿更正一下,我通常在A裡面的protocol method裡reload 01/21 04:24
yuan0723: Notification Center 之前試過可行 01/21 13:01
darktt: 不建議使用Notification Center,這個使用delegate就可以 01/21 17:09
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
Ghosso: 你append完就可以reload了~ 01/23 00:20