DEPRECATED-mapbox-ios-sdk icon indicating copy to clipboard operation
DEPRECATED-mapbox-ios-sdk copied to clipboard

After iOS 9 huge CPU usage

Open ghost opened this issue 10 years ago • 2 comments

Hi, I'm using Mapbox in my app and after update to iOS 9 maps became very slow and irresponsive. On iPhone 6 with iOS 9 CPU usage is around 100% on one core, same app on iOS 8 and different iPhone 6 has ~2% CPU. I don't really know what to do with it custom map is one of the key feature of this app. Has anyone similar problem?

ghost avatar Sep 21 '15 17:09 ghost

Hi @blazejchwiecko, can you try profiling your app in Instruments? Curious if anything stands out.

1ec5 avatar Sep 21 '15 17:09 1ec5

It's weird but didUpdateLocation uses almost all of my CPU, so I'm guessing is about redrawing annotations after location update.

ghost avatar Sep 22 '15 17:09 ghost