This sample demonstrates how to change basemap of a map. The sample provides a segmented control that you can use to select and change a basemap in the map.
How it works
AGSMap has a basemap property of type AGSBasemap. On each selection, the app creates a new basemap of the specified type and assigns it to map.basemap. AGSBasemap provides a set of factory methods for each of Esri's basemaps.