//セルが選択された際に呼び出される
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
//選択されたセルを取得
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
/…
1つのクラスファイル内で、複数のUIActionSheetを使う時はtagプロパティを使って、どのアクションシートのボタンがクリックされたのかを判別します。
actionsheet.tag = 1;
詳しくは以下のサイトを参照。
http://technical-iphone.blogspot.com/2010/05/uiactionsheet.html
graffiti on the web
この投稿へのコメント
コメントはまだありません。