Sunday, March 15, 2026
HomeiOS Developmentios - Google maps low fps when scrolling continues resulting from inertia...

ios – Google maps low fps when scrolling continues resulting from inertia swift


I am engaged on an software utilizing Google Maps. I observed an issue when scrolling continues resulting from inertia (for instance, scrolling down) and the finger doesn’t contact the display screen, FPS drops to 3-5.
When zooming and scrolling when your finger is on the display screen, it really works easily. This solely occurs when the finger is raised and scrolling continues by inertia.
This occurs utterly by chance. One software launch exists, the opposite doesn’t

I attempted to debug it by means of Time Profiler which introduced nothing

I take advantage of iOS 17+ and SwiftUI in my app
CPU utilization round 5%

That is how my GMSMapView occasion initializes

 lazy var mapView: GMSMapView = {
        let choices = GMSMapViewOptions()
        choices.backgroundColor = UIColor(Colour.mapBackground)
        let view = GMSMapView(choices: choices)
        view.isMyLocationEnabled = true
        view.settings.tiltGestures = false
        return view
    }()

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments