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

前端 未结 2 671
孤城傲影
孤城傲影 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

提交回复
热议问题