看板 MacDev 關於我們 聯絡資訊
我在UIScrollView 新增一個subview ,同樣設定 Aview.delegate = Controller 為何不能讀取資料? 若是ViewController 本身設定就可以。 關係是這樣的 Tabview UIView controller ScrollView Add subview AUIView 請各位解答,謝謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 223.139.224.172
johnlinvc:IBOutlet != delegate 12/26 13:48
rick1014:你的controller有implement該delegate的protocol嗎? 12/27 01:00
scentsome:首先要知道delegate 觀念 http://bit.ly/12PNUKa 12/27 07:48
scentsome:然後在要接收資料的class實作提供者 protocol 的 method 12/27 07:49
forever215:我知道原因了..是要設定為 self.delegate.. 12/28 23:16