Getting ArcGIS.com-created map to show up in sample app

Getting ArcGIS.com-created map to show up in sample app

I've been experimenting with the My First iOS app example, trying to get it to display a Bing map layer I created on ArcGIS.com.  However, the layer doesn't display.  In the sample app's code, when it says:
NSURL *mapUrl = [NSURL URLWithString:@"http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"];
 AGSTiledMapServiceLayer *tiledLyr = [AGSTiledMapServiceLayer tiledMapServiceLayerWithURL:mapUrl];
 [self.mapView addMapLayer:tiledLyr withName:@"Tiled Layer"];

what am I supposed to replace the mapUrl from?  The bit.ly link created through the share function on ArcGIS.com doesn't work, since it links directly to a map viewer displaying the map.  I'd like to get the map directly to put into my sample iOS app.

Solutions/Answers:

Answer 1:

It appears to me that your problem is more with the licensing that finding the correct REST endpoint: http://www.esri.com/software/arcgis/arcgisonline/bing-maps.html , particularly the bit about ArcGIS Web Mapping.

References