LvJianfeng / LLCycleScrollView

Swift - 轮播图,文本轮播,支持左右箭头
MIT License
373 stars 65 forks source link

是我的使用方式不对,还是有内存泄漏 #26

Closed asasdasasd closed 7 years ago

asasdasasd commented 7 years ago
 let banner = LLCycleScrollView.llCycleScrollViewWithFrame(CGRect.zero)
            self.view.addSubview(banner)
            banner.snp.makeConstraints({ (make) in
                make.left.equalToSuperview().offset(AdaptedWidth(x: 15))
                make.right.equalToSuperview().offset(-AdaptedWidth(x: 15))
                make.top.equalTo(self.leftItem.snp.bottom).offset(AdaptedWidth(x: 14))
                make.height.equalTo(AdaptedWidth(x: 55))
            })
            banner.autoScrollTimeInterval = 1
            banner.backgroundColor = UIColor.red
            banner.scrollDirection = .vertical
            banner.customPageControlStyle = .snake
            banner.imagePaths = ["公告","活动-1","教程"]

2017-11-30 10 58 04

LvJianfeng commented 7 years ago

@asasdasasd 这个可以的啊,没毛病啊。你可以邮件给我详细点的吧。