//セルが選択された際に呼び出される
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
//選択されたセルを取得
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
/…
foreachで、配列を展開する
foreach ($array as $key => $val) {
echo $key ;
echo $val;
}
この投稿へのコメント
コメントはまだありません。