ios-sdk-examples
ios-sdk-examples copied to clipboard
Live example code for the Mapbox iOS SDK
A common use case for offline packs is a download manager–style table view controller. This use case requires some advanced NSNotification or KVO usage, so we should add an example...
We have an outstanding issue with the line animation example. Randomly fails. My hypothesis is that for some reason the timer that triggers the animation runs in a background thread....
It's almost a year since we released our location manager API, and lately we have been receiving more questions about it. This example should exemplify how to integrate into the...
There are a few examples that are too similar in scope and should be altered/removed.
Per @julianrex in #329: > The "Load missing style icons" buttons do not appear on iOS 9 & 10.
Double check the positioning of subviews in the static snapshot examples. Specifically the snapshot button is not always centered, and on iPad the Mapbox and info views are "missing" (off...
On iPad, in split-view mode, the end of the line doesn't match the touch point (in does in full-screen mode).
Running the automated UI tests on iOS 10.3 fails after running the `AnimatedLineExample`. I don’t think this something we’re likely to fix (or need to fix), but, for posterity: ```...
The `MissingIconsExample` added in #289 is, in its current form, not suitable for this project. We should address the issues @captainbarbosa ([here](https://github.com/mapbox/ios-sdk-examples/pull/289#pullrequestreview-222868877)) and @riastrad ([here](https://github.com/mapbox/ios-sdk-examples/pull/289#issuecomment-479930070)) brought up during its review...
Deprecation warning in first steps tutorial — MGLCamera(lookingAtCenter:fromDistance:pitch:heading:)
There’s a deprecation warning about `MGLCamera(lookingAtCenter:fromDistance:pitch:heading:)` in the code for “[First steps with the Mapbox Maps SDK for iOS](https://docs.mapbox.com/help/tutorials/first-steps-ios-sdk/)” due to mapbox/mapbox-gl-native#12966: ``` /path/to/ios-sdk-examples/DocsCode/FirstStepsTutorial/FirstStepsTutorialViewController.swift:49:22: 'init(lookingAtCenter:fromDistance:pitch:heading:)' is deprecated: Use -cameraLookingAtCenterCoordinate:acrossDistance:pitch:heading: or...