Skip to content
New issue

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

从StackView中删除添加的subView #23

Merged
merged 1 commit into from
Dec 24, 2015
Merged

Conversation

sdaheng
Copy link
Contributor

@sdaheng sdaheng commented Dec 17, 2015

我在TableViewCell中使用StackView 重用时会出现重复添加view的问题,发现在addArrangedSubView 或
insertArrangedSubview:atIndex: 中 调用了 [self addSubview:view] 或 [self
insertSubview:view atIndex:stackIndex] 但并没有在removeArrangedSubview:
中删除添加的view

我在TableViewCell中使用StackView 重用时会出现重复添加view的问题,发现在addArrangedSubView 或
insertArrangedSubview:atIndex: 中 调用了 [self addSubview:view] 或 [self
insertSubview:view atIndex:stackIndex] 但并没有在removeArrangedSubview:
中删除添加的view
sunnyxx added a commit that referenced this pull request Dec 24, 2015
从StackView中删除添加的subView
@sunnyxx sunnyxx merged commit f4ac41e into forkingdog:master Dec 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants