FSPagerView
FSPagerView copied to clipboard
怎么去掉轮播间距间的阴影啊
你的cell继承FSPagerViewCell,然后:
self.contentView.backgroundColor = UIColor.clear
self.backgroundColor = UIColor.clear
self.contentView.layer.shadowColor = UIColor.clear.cgColor
self.contentView.layer.shadowRadius = 0
self.contentView.layer.shadowOpacity = 0.75
self.contentView.layer.shadowOffset = .zero
谢谢
你好,我用的OC,自定义了一个cell继承FSPagerViewCell,但是报错,在.h里面__attribute__((objc_subclassing_restricted))用这个可以,在.m里面不行