Hierarchy Issue

Hi guys. I'd really appreciate your help.
I have a table view cell with a custom view as a background. I added the custom view to the cell as its background, after that I added a UILabel to the background.
ISSUE: Once I add subviews to the custom view they go under the subviews of itself.
I have to mention that the custom view loads first, then newly added subview, and only after that subviews of a custom view class.

The red view is supposed to be on the top.
Here is the whole project.

Solved. My bad.

Terms of Service

Privacy Policy

Cookie Policy