美文网首页
iOS开发笔记-140: swift5-UIScrollView

iOS开发笔记-140: swift5-UIScrollView

作者: 原味蛋炒饭 | 来源:发表于2024-09-23 14:21 被阅读0次

topBgScrollV.frame = CGRect(x: 0, y: 15, width: kScreenW - 20, height: 175)
        topBgScrollV.isPagingEnabled = true
        topBgScrollV.clipsToBounds = false
        topBgScrollV.showsHorizontalScrollIndicator = false

   for index in 0..<levelA.count {
            let bgV = UIView(frame: CGRect(x: 15 + topBgScrollV.width*CGFloat(index), y: 0, width: kScreenWSpace15, height: topBgScrollV.height))
}

相关文章

网友评论

      本文标题:iOS开发笔记-140: swift5-UIScrollView

      本文链接:https://www.haomeiwen.com/subject/qmcfrjtx.html