开发者

I have an iphone application which uses dragging of annotations on a MapView, is this possible is the iPad?

开发者 https://www.devze.com 2023-01-18 20:07 出处:网络
I am trying to use: (void)mapView:(MKMapView *)mapView annotationView :(MKAnnotationView *)annotationView didChangeDragState

I am trying to use:

(void)mapView:(MKMapView *)mapView annotationView
             :(MKAnnotationView *)annotationView didChangeDragState
             :(MKAnnotationViewDragState)开发者_开发问答newState fromOldState
             :(MKAnnotationViewDragState)oldState

And was getting errors when building this for the iPad, but I have since realised that it is iOS 4 specific, so it won't work on the iPad. Is there anything similar that I can use for the iPad?


1°) You should wrap your code with < pre >< /pre > or do a crt+k

2°) You can wait the iOS 4.2 for iPad that is currently under beta2. I will be released in 1 month. Or you can buy a apple developer account (100$ / year) and then download the Beta SDK :-)

I don't know what else you could else, but good Luck !

0

精彩评论

暂无评论...
验证码 换一张
取 消