爲什麼下面的代碼不起作用?使用選擇器調用函數
[Confirm addTarget:self
action:@selector([FunctionsApp Synch_Data:CompIDS])
forControlEvents:UIControlEventTouchUpInside];
給出:
FunctionsApp: its other class
Synch_Data:its function in FunctionsApp
CompIDS: its MSmutableArray
錯誤:@選擇器中缺少方法名稱,並期待:在標記之前[ –