0
我是iPhone的初學者。我創建了五個按鈕。按鈕點擊事件執行到其他類中如何調用按鈕點擊事件方法..?如果在if條件下調用不同的按鈕點擊事件方法?
它在視圖控制器類
(IBAction)onclickbutton1
{
}
(IBAction)onclickbutton2
{
}
這onclickbutton1
和onclickbutton2
方法如何在其他類調用if條件 這樣的onclickbutton1
該條件爲真執行onclickbutton
事件