【问题标题】:I need the height of the hidden in a scroll view Swift我需要在滚动视图 Swift 中隐藏的高度
【发布时间】:2021-02-25 17:28:06
【问题描述】:

示例图片:

我需要蓝色的身高。

【问题讨论】:

    标签: swift size scrollview height hidden


    【解决方案1】:

    你可以试试

    let height = scrollView.contentOffset.y
    print(height)
    

    将其插入scrollViewDidScroll

    【讨论】:

      猜你喜欢
      • 2014-11-23
      • 1970-01-01
      • 1970-01-01
      • 2017-12-07
      • 2022-11-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多