MQZHot

Results 7 comments of MQZHot

> 也可以通过继承`Resource`,然后重写`open override func image(at time: CMTime, renderSize: CGSize) -> CIImage? `来获取每一帧的画面, Lottie里面有提供方法来获取每一帧的画面 Lottie有获取方法么

设置图片的时候有这么一句代码`collectionView.setContentOffset(.zero, animated: false)`,注释掉试一下 在这个方法里面`func setResource(_ titlesGroup: Array?, attributedTitlesGroup: [NSAttributedString?]?)`

post请求,encoding用`URLEncoding.httpBody`试一下

Hi, Do you mean saving the current selected state? The next time you enter, the saved state is displayed ?

I think may be you need Userdefaults to control the on and off of the switch...or the condition how to determine of the switch