ios - Disable button when no internet connection -


How can I disable a button when there is no connection to a network / internet in iOS?

Look for Accessibility Code from Apple.

And use it like this:

  Richability * Accessibility Capabilities = [[Retouchability Possibility for Internet connection]]; [Reach notifier]; NetworkStatus Networks Stats = [Current Reachability Stands] [Accessibility]; BOOL connect = (network status == retinal viii = network status == recyclable wavadon);    

Comments

Popular posts from this blog

php - Creating canonical URLs with custom route-classes -

mysql - Formatting problem with PHP DateTime Difference when used as part of an equation -

Mysql Local server hardware -