2017-02-15 57 views

回答

2

有什麼特別的tableHeader?

public Action<object, EventArgs> VCAction; 

btn.TouchUpInside += (s, e) => 
     { 
      //VCAction.Invoke(s, e); 
     }; 

btn.TouchUpInside += Btn_TouchUpInside; 

void Btn_TouchUpInside(object sender, EventArgs e) 
    { 
     //VCAction.Invoke(s, e); 
    } 
-1

UIButtontarget:應設置爲UIViewController & selector:作爲負責處理點擊手勢功能編寫代碼。

相關問題