Skip to content

A SimpleAlert that shows automatically when no internet connection.

Notifications You must be signed in to change notification settings

SalmanGhumsani/SGInternetConnectionAlert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

SGInternetConnectionAlert.swift

A warning that shows as an alert automatically with animation when no internet connection.

Also, hide automatically when the internet comes back.

SGInternetConnectionAlert.shared.enable = true  

//IF YOU NEED EXTRA CONFIGURATION
var config = SGInternetConnectionAlert.Configuration()
config.kBG_COLOR = UIColor.blue
SGInternetConnectionAlert.shared.config = config

Also, Thanks to Reachability.swift

Under MIT License

About

A SimpleAlert that shows automatically when no internet connection.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published