We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMPageContentCell调用setCm_contentView方法时,需要先把上一个_cm_contentView移除,如下:
(void)setCm_contentView:(UIView *)cm_contentView {
if (_cm_contentView.superview) { [_cm_contentView removeFromSuperview]; }
... }
考虑到Cell是复用的,如果cm_contentView对应的ViewController没有dealloc的话,就会出现内容的重叠
The text was updated successfully, but these errors were encountered:
No branches or pull requests
CMPageContentCell调用setCm_contentView方法时,需要先把上一个_cm_contentView移除,如下:
(void)setCm_contentView:(UIView *)cm_contentView {
if (_cm_contentView.superview) {
[_cm_contentView removeFromSuperview];
}
...
}
考虑到Cell是复用的,如果cm_contentView对应的ViewController没有dealloc的话,就会出现内容的重叠
The text was updated successfully, but these errors were encountered: