Skip to content

Commit 53bb1db

Browse files
committed
使用说明更新
1 parent 5b4379d commit 53bb1db

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@
2020

2121

2222

23-
24-
@weakify(scrollView);
25-
[scrollView setRefreshAction:^{
23+
UIScrollView *scrollView = nil;
24+
[scrollView setRefreshAction:^{
2625
@strongify(scrollView);
2726
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
27+
2828
[scrollView endRefresh];
2929
});
30-
}];
30+
}];
31+
3132

3233

3334
* UIWebView不是UIScrollView的子类,但是UIWebView有一个scrollView属性, UIWebView的使用方法如下。

0 commit comments

Comments
 (0)