iOS app freezes when loading custom info window for marker on Google Maps

前端 未结 2 669
孤城傲影
孤城傲影 2021-01-12 07:46

I am trying to implement a custom info window on my Google Maps Marker on an iOS app. (As is done here and here for example.)

I have created a xib and a UIVie

相关标签:
2条回答
  • 2021-01-12 08:10

    Found the proper workaround for 1.13

    Add the following code to the subclass CustomInfoWindow

    override func didMoveToSuperview() {
            superview?.autoresizesSubviews = false;
    }
    

    Source: https://code.google.com/p/gmaps-api-issues/issues/detail?id=9525

    0 讨论(0)
  • 2021-01-12 08:22

    I have the same issue. It's a GoogleMaps's bug! Freezing apperrs in version 1.13.0.

    You can use:

    pod 'GoogleMaps', '1.12.3'
    
    0 讨论(0)
提交回复
热议问题