バーボタン項目からポップオーバーを表示するために以前に作成した関数がありますが、テーブルが編集モードのときにセルアクセサリからポップオーバーを表示するために再利用しようとしています。
私はもう試した
[self showPopover:[[theTableView cellForRowAtIndexPath:indexPath] editingAccessoryView]]
しかし、これはNULLです。
もともと、それ[cell setEditingAccessoryType: UITableViewCellAccessoryDetailDisclosureButton];
が違いを生む場合に設定されています。
そしてポップオーバー機能は
-(void) showPopover:(id)sender {
...
[self.popOver presentPopoverFromBarButtonItem:sender
permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
}
アイデアをください。