Skip to content

上拉加载出现异常 #1

@toutyeung

Description

@toutyeung

你好
我将FooterRefresh属性添加到ScrollView上,但是View在最底部.
没有上拉到一定高度,切换到其他View的时候,updata函数出现nil错误.

func update(proxy: GeometryProxy, value: Refresh.FooterAnchorKey.Value) {
guard let item = value.first else { return }
guard headerUpdate.progress == 0 else { return }

    let bounds = proxy[item.bounds]

在取得bounds的时候出现nil错误

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