I am having trouble figuring out how to place a UIButton with a custom image above the text in the UITableViewCell that it belongs to. Is there a way to reorder the items outside of the visible storyboard hierarchy?
In the storyboard, I have tried:
- Setting the button to opaque.
- Unchecking 'Clip Subviews' in for the cell view.
Nothing I tried works. Below is a picture of how it appears now.
If I understand your question correctly, you need the following code to insert your subview above the UILabel.
Hope that helps!