I am following the documentation for attachment manager for the feature layer. In my case layer is the table in feature service. What I am doing is int fid = 27242 AGSGraphic* feature = [featureLayer lookupFeatureWithObjectId:fid]; NSLog("%@",feature); AGSAttachmentManager* attMgr = [featureLayer attachmentManagerForFeature: feature]; [attMgr addAttachmentAsJpgWithImage:image name:@"My House"];
What is am getting in NSLog is null , even though there is a feature in the layer with ObjectId 27242.Is there something I am doing wrong?Thanks,Vikrant