Skip to content

Commit

Permalink
Add startMonitoring call to README under block based reachability call
Browse files Browse the repository at this point in the history
Add startMonitoring call to README to clarify that startMonitoring still need to be called when using the block based reachability callback method
  • Loading branch information
jawwad committed Jul 7, 2015
1 parent 0777739 commit 66f7242
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ NSDictionary *parameters = @{@"foo": @"bar", @"baz": @[@1, @2, @3]};
[[AFNetworkReachabilityManager sharedManager] setReachabilityStatusChangeBlock:^(AFNetworkReachabilityStatus status) {
NSLog(@"Reachability: %@", AFStringFromNetworkReachabilityStatus(status));
}];

[[AFNetworkReachabilityManager sharedManager] startMonitoring];
```
#### HTTP Manager Reachability
Expand Down

0 comments on commit 66f7242

Please sign in to comment.