Show Error No Internet Connection Swift 3d Gradient