I am using below code to show feature layer but it is not showing in ios app. I have created this feature layer through arcgis online.
//initialize map with basemap
let map = AGSMap(basemap: AGSBasemap.streetsBasemap())
//assign map to the map view
self.mapView.map = map
//initialize service feature table using url
let featureTable = AGSServiceFeatureTable(URL: NSURL(string: "https://services7.arcgis.com/JRY73mi2cJ1KeR7T/arcgis/rest/services/NewYorkHospitalLayer/FeatureServe...")!)
//create a feature layer
let featureLayer = AGSFeatureLayer(featureTable: featureTable)
//add the feature layer to the operational layers
map.operationalLayers.addObject(featureLayer)