-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
I set custom title for pullRefresh. But when I pull first time, it not work, app still show default title.
After, when I continue pull, it work, app show my custom title.
[_tableView addPullToRefreshWithActionHandler:^{
[weakTableView.pullToRefreshView setTitle:@"Kéo để cập nhật" forState:SVPullToRefreshStateAll];
[weakTableView.pullToRefreshView setTitle:@"Thả ra để cập nhật" forState:SVPullToRefreshStateTriggered];
[weakTableView.pullToRefreshView setTitle:@"Đang cập nhật" forState:SVPullToRefreshStateLoading];
//load data
}];
Metadata
Metadata
Assignees
Labels
No labels