Skip to content

继承YKPageCell问题 #3

@loverjiao0321

Description

@loverjiao0321

我在FirstTableView继承YKPageCell后

  • (YKPageCell *)pageView:(YKPageView *)pageView cellForIndex:(NSInteger)index {
    static NSString *identifier = @"pageCell";
    FirstTableView *cell = [pageView dequeueReusableCellWithIdentifier:identifier];
    if (cell == nil) {
    cell = [[FirstTableView alloc] initWithIdentifier:identifier];
    }
    return cell;
    }
    调用父类initWithIdentifier:方法,FirstTableView的frame是(0,0,0,0),请问是么原因导致的
    qq:1183599228

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