In the BuildingLightExample and RasterImageryExample (and their swift counterparts), a UISlider is used to allow the user to play with various effects. This slider however is currently configured to be continuous and as a result invokes it's selector (on main thread) on every update event.
Since the mapbox operations are compute-intensive this causes laggy behavior in simulators (and the occasional crash on Xcode).
In the
BuildingLightExample
andRasterImageryExample
(and their swift counterparts), aUISlider
is used to allow the user to play with various effects. This slider however is currently configured to becontinuous
and as a result invokes it's selector (on main thread) on every update event.Since the mapbox operations are compute-intensive this causes laggy behavior in simulators (and the occasional crash on Xcode).