Skip to content

SetTitle not work first pull #291

Description

@anhhtbk

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
    }];

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions