【问题标题】:How to avoid the default CallOutView to appear?如何避免出现默认的 CallOutView?
【发布时间】:2012-01-20 17:33:56
【问题描述】:

我正在尝试为 AnnotationView 制作自定义标注视图。我见过this answer。 请参阅other question

我能够加载自定义视图。 但是如何避免出现默认的CallOutView呢?

【问题讨论】:

    标签: iphone ios mkannotation callouts


    【解决方案1】:

    在您的 MKAnnotationView 中将 canShowCallout 设置为 NO

    【讨论】:

    • 谢谢,它有效!你能帮我解决这个问题吗other question
    猜你喜欢
    • 1970-01-01
    • 2019-06-15
    • 2018-10-15
    • 1970-01-01
    • 2022-10-05
    • 1970-01-01
    • 2011-06-14
    • 2017-11-04
    • 1970-01-01
    相关资源
    最近更新 更多