Changes

Jump to: navigation, search

An Example Swift iOS 8 MKMapItem Application

No change in size, 18:10, 1 May 2018
Building and Running the Application
Within the Xcode toolbar, click on the Run button to compile and run the application, either on a physical iOS device or the iOS Simulator. Once loaded, enter an address into the text fields before touching the Get Directions button. The map should subsequently appear together with the route between your current location and the destination address. Note that if the app is running in the simulator, the current location will likely default to Apple’s headquarters in California.
Figure 77 -2
== Summary ==
The goal of this chapter has been to work through the creation of a simple application designed to use a combination of geocoding and the MKPlacemark and MKMapItem classes. The example application created in this chapter has demonstrated the ease with which maps and directions can be integrated into iOS applications.

Navigation menu