ExportImage method not found in Swift 3.0

Discussion created by jay.mehta on Nov 22, 2016
Latest reply on Dec 2, 2016 by Yue_Wu-esristaff

Hello Team ,


Xcode : 8.0

Swift : 3.0


I am not able to find "exportImage" method ,

i am not getting the method in intelli-sense of xcode

self.mapView.exportImage { [weak self] (image:UIImage?, error:NSError?) -> Void in

           if error != nil{

               UIAlertView(title: "Error", message: error.localizedDescription, delegate: nil, cancelButtonTitle: "Ok").show()


           if let image = image {

               //on completion imitate flash

//                self?.imitateFlash(image)




did import any thing in file i import only ArcGIS?


let me know your suggestion.