regiondidchange called several times on app load swift
问题 I have a map that when i pan away or type in a location and navigate to it that I want a simple print function to run. I have this accomplished, however, when i first load the app it calls that print function several times until it is finished zooming in. Is there a way to NOT count the initial on app load region change? 回答1: answer finally found herehttp://ask.ttwait.com/que/5556977 private var mapChangedFromUserInteraction = false private func mapViewRegionDidChangeFromUserInteraction() ->