Skip to content

selectIndex点击的时候没赋值 #24

Description

@bigParis
// 判断控制器的view有没有加载,没有就加载,加载完在发送通知
if (vc.view) {
    _selectIndex = i;
    // 发出通知点击标题通知
    [[NSNotificationCenter defaultCenter] postNotificationName:YZDisplayViewClickOrScrollDidFinshNote object:vc];
    // 发出重复点击标题通知
    if (_selIndex == i) {
        [[NSNotificationCenter defaultCenter] postNotificationName:YZDisplayViewRepeatClickTitleNote object:vc];
    }
}

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