落ち着き次第、MapKitの使い方を投稿したいと思いますが、とりあえず、覚え書き
参考サイト:http://blog.syuhari.jp/archives/2040
http://iphone-tora.sakura.ne.jp/mkannotationview.html
UITableViewのcellに地図を表示させる方法などを書きたいなと思っています。
//セルが選択された際に呼び出される – (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { //選択されたセルを取得 UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath]; //セルにチェックが付いている場合はチェックを外し、付いていない場合はチェックを付ける if (cell.accessoryType == UITableViewCellAccessoryCheckmark) { cell.accessoryType = UITableViewCellAccessoryNone; } else { cell.accessoryType = UITableViewCellAccessoryCheckmark; } }
graffiti on the web
この投稿へのコメント
コメントはまだありません。