[英]I have an iphone application which uses dragging of annotations on a MapView, is this possible is the iPad?
我正在嘗試使用:
(void)mapView:(MKMapView *)mapView annotationView
:(MKAnnotationView *)annotationView didChangeDragState
:(MKAnnotationViewDragState)newState fromOldState
:(MKAnnotationViewDragState)oldState
並且在為iPad構建此功能時出現錯誤,但是我意識到它是特定於iOS 4的,因此它不適用於iPad。 我可以在iPad上使用類似的東西嗎?
1°)您應該使用<pre> </ pre>包裝代碼或執行crt + k
2°)您可以等待當前beta2下的iPad的iOS 4.2。 我將在1個月后釋放。 或者,您可以購買一個Apple開發人員帳戶(每年100美元),然后下載Beta SDK :-)
我不知道您還能做什么,但是祝您好運!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.