What prevents us from removing the UILabel inside the UITableViewCell from the storyboard?

After creating UILabelprogrammatically for adding in, UITableViewCellI cannot remove the tag object from the storyboard. Usually, by clicking on an object in the outline of a document, we can delete it. However, when you try to delete unnecessary UILabelin the storyboard, it will not disappear. Has anyone else experienced this? How did you delete an object from the storyboard?

enter image description here

+4
source share
1 answer

You cannot remove labels from table cells that have a predefined style. To fully customize the appearance of the cells, select Custom Style:

enter image description here

This change will delete the tags.

+2
source

Source: https://habr.com/ru/post/1625664/


All Articles