Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Commit 52b4e62

Browse files
authored
Merge pull request #330 from Esri/nj_fixShowErrors
fixed method used for showing the error in two samples
2 parents 0953010 + 962137e commit 52b4e62

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

arcgis-ios-sdk-samples/Analysis/Statistical query/StatisticalQueryViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class StatisticalQueryViewController: UIViewController {
8484
//
8585
// If there an error, display it
8686
guard error == nil else {
87-
SVProgressHUD.show(withStatus: error!.localizedDescription, maskType: .gradient)
87+
SVProgressHUD.showError(withStatus: error!.localizedDescription, maskType: .gradient)
8888
return
8989
}
9090

arcgis-ios-sdk-samples/Layers/Raster layer (service)/RasterLayerUsingServiceVC.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class RasterLayerUsingServiceVC : UIViewController {
4747
self.rasterLayer.load { [weak self] (error) in
4848

4949
guard error == nil else {
50-
SVProgressHUD.show(withStatus: error!.localizedDescription, maskType: .gradient)
50+
SVProgressHUD.showError(withStatus: error!.localizedDescription, maskType: .gradient)
5151
return
5252
}
5353

0 commit comments

Comments
 (0)