I have MainStoryboard.storyboard file for all my views creation. In that, one of my view controller scene contains UITableView with 3 different UITableViewCells in it. Out of three, two are default UITableViewCell whereas one is CustomCell. Please find the same below:
(Image 1 :For a default cell where text is displayed using cell.textLabel.text)
(Image 2 :For a custom cell where there is a custom cell class is implemented and UI is based upon storyboard design.)
But, while changing this tableview to edit mode, selecting minus sign for this cell, the cell does move to left side, hence the text in it, looks like it got cropped from left side. This happens only for iOS7 not in iOS6.
Please let me know what could be the solution for this.
Need to set AutoLayout Constraints to label in custom cell,
To right side label in custom cell add Leading space to superview auto layout constraint.
Select Label in StoryBoard -> Editor -> pin -> Leading Space to SuperView.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With