I'm trying to edit a Feature Table hosted in my ArcGIS Server using the ArcGIS SDK for iOS and I'm having this error:
Error Domain=com.esri.arcgis.runtime.error Code=3 "Invalid argument" UserInfo={NSLocalizedDescription=Invalid argument, NSLocalizedFailureReason=JSON does not describe a feature layer.}
Here's my code:
self.featureServiceTable = AGSGDBFeatureServiceTable(serviceURL: self.url, credential: nil, spatialReference: nil)
self.featureServiceTable.loadCompletion = {[weak self] (error:NSError!) -> Void in
if error != nil {
print(error)
}
}
This is the hosted service: Layer: Usuario (ID: 3)