If you aren't restricted to only AGSMapview: You could create an editable feature layer of a polyline shapefile. Make this the only editable layer and use Collector for ArcGIS or an ArcGIS Online Web App with editor tool. Collector will work with iOS (compatible with iOS 8 or later: Collector for ArcGIS | ArcGIS and the web app will work on any HTML5 browser.