0
大家好,我需要爲此方法編寫選擇器。我該怎麼做?感謝名單!選擇器的方法有多個參數
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
這裏是我需要它的代碼:
UIBarButtonItem *deleteButton = [[UIBarButtonItem alloc] initWithTitle:@"Delete User" style:UIBarButtonItemStyleBordered target:self action:@selector(my_button_click_here_is_need_a_selector:)];
[toolbar setItems:[NSArray arrayWithObjects: deleteButton, nil]];