How to deal with MKReverseGeocoder / PBHTTPStatusCode=503 errors in iOS 4.3?

后端 未结 6 1534
抹茶落季
抹茶落季 2020-12-16 06:08

Since iOS 4.3 (GM Seed 10M2518) I\'m getting crashes when using MKReverseGeocoder. reverseGeocoder:didFailWithError: gets called with an error like

6条回答
  •  一向
    一向 (楼主)
    2020-12-16 06:22

    I had the same issue, even though my MKReverseGeocoder code followed one of the Apple examples (MKReverseGeocoder as a global autorelease variable). Also the issue appeared only on iOS 4.3 (4.0 was running no problem).

    What solved the problem for me was removing the autorelease part and releasing the MKReverseGeocoder only in dealoc of the view.

提交回复
热议问题