如何dissmiss附加一个MKAnnotation的注解动画? [英] How to dissmiss the add Annotation Animation of a MKAnnotation?

查看:225
本文介绍了如何dissmiss附加一个MKAnnotation的注解动画?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要添加上的MKMapView和,这给IM pression该引脚落在地图上作出这样的花费大量的时间来显示所有的动画注释的大数目。

I need to add a big number of annotations on a MKMapview and, the animation which give the impression that the pin falls on the map make that take lot of time to display all of them.

任何人都可以帮我吗?

对不起,我的英语!谢谢

Sorry for my english ! Thanks

推荐答案

您可以禁用下降动画与 animatesDrop 属性

You can disable dropping animation with animatesDrop attribute

- (MKAnnotationView *) mapView:(MKMapView *)mapView viewForAnnotation:(id <MKAnnotation>) annotation{

MKAnnotationView *annView =[[[MKAnnotationView alloc] initWithAnnotation:annotation reuseIdentifier:@"annotation"] autorelease];


        annView.animatesDrop=FALSE;
}

这篇关于如何dissmiss附加一个MKAnnotation的注解动画?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆