Quick MKNetworkKit Tip: Setting HostName Issue


I've recently started using MKNetworkKit in one of my iOS projects and ran into an interesting issue.


If the hostname is set like this: "test.apple.com/subname1" and not this: "test.apple.com" then the Reachability notifier will never be initialize. This is an issue because any server connection that is dropped can never be restored.


So set your hostname with out any slash subdomains. Now you know!

Comments