提交 7d8484d9 编写于 作者: C Christian Noon

Added note to README to retain the NetworkReachabilityManager instance.

上级 634d0b23
...@@ -1147,6 +1147,8 @@ manager?.listener = { status in ...@@ -1147,6 +1147,8 @@ manager?.listener = { status in
manager?.startListening() manager?.startListening()
``` ```
> Make sure to remember to retain the `manager` in the above example, or no status changes will be reported.
There are some important things to remember when using network reachability to determine what to do next. There are some important things to remember when using network reachability to determine what to do next.
* **Do NOT** use Reachability to determine if a network request should be sent. * **Do NOT** use Reachability to determine if a network request should be sent.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册