看板 [ MacDev ]
討論串[問題] MKAnnotationView target
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 1→)留言1則,0人參與, 最新作者spitfires221 (劉)時間12年前 (2012/12/08 02:36), 編輯資訊
0
0
0
內容預覽:
要不要試... 你可以做一個 callout 的 accessory button (也就是你的 add button). 再用 mapView:annotationView:calloutAccessoryControlTapped: 接button event. --. 發信站: 批踢踢實業

推噓1(1推 0噓 2→)留言3則,0人參與, 最新作者whitefur (白毛)時間12年前 (2012/12/07 01:02), 編輯資訊
0
0
0
內容預覽:
我想要在MKAnnotationView上點一下就能觸發event. 我的作法是在MKAnnotationView上add一個button. 但是button都沒反應. 也沒有進到event裡. 好像在MKAnnotationView上面的touch是先被mapview接到. 請問要怎麼樣才能做到我
首頁
上一頁
1
下一頁
尾頁