要素Aが配列Bの中に存在するか調べるには in_array を使う。
以下の例では、配列Bの中に要素Aが存在するので「Got elementA」が出力されます。
$arrayB = array("elementA", "NT", "Irix", "Linux");
if (in_array("elementA", $arrayB)) {
echo "Got elementA";
}
– (void)mapView:(MKMapView*)mapView
annotationView:(MKAnnotationView*)view
calloutAccessoryControlTapped:(UIControl*)control
メソッドでタップされたannotationのタイトルなど詳細を取得
http://iphone-app-developer.seesaa.net/article/145269138.html
graffiti on the web
この投稿へのコメント
コメントはまだありません。