MKAnnotationView图标下的标题

问题描述

使用def parse(self,response): result = response.xpath("//div[@class = 'playerTeam']//a/@href").get() if result is None: result = response.xpath("//span[contains(concat(' ',normalize-space(@class),' '),' profile-player-stat-value bold ')]//a/@href").get() if result is not None: yield scrapy.Request( url = "https://www.hltv.org" + result,callback = self.parseTeam ) 进行注释时,标题显示在图标下方,如何在MKMarkerAnnotationView中使用标题

示例:

标题显示在图标下方:

MKAnnotationView

标题显示在图标下方:

annotationView = MKMarkerAnnotationView(annotation: nil,reuseIdentifier: identifier)
annotationView = MKAnnotationView(annotation: nil,reuseIdentifier: identifier)

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)