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

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -