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

UICollectionViewCell & UITableViewCell iOS 13. Add subviews in contentView. #156

Open
SlonGL opened this issue Dec 4, 2020 · 0 comments

Comments

@SlonGL
Copy link

SlonGL commented Dec 4, 2020

It's not even a mistake. It is necessary to draw the attention of developers to this nuance.

When you add something to UICollectionViewCell and UITableViewCell you cannot do:

self.subviews (view)

Should be strict:

contentView.subviews (view)

Otherwise, a subtle error will come out. Everything works perfectly in iOS 14, but in iOS 13 you won't see anything in the collection and table.

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

No branches or pull requests

1 participant