3

I'm working in XCode 6 for iOS 8 and portrait iPhone 5,6,6+. In Storyboard I set "Compact" width and "Regular" height, so my layout views' sizes are 400*800. I created a UITableViewController with custom UITableViewCells, that are prototypes, also via storyboard. Config cell and set constraints work okay, no yellow warnings in storyboard.

Then I reload XCode and all my labels, images, and buttons inside the cell are shifted -80 by "y" and have warnings, however the content view for cell still has a width of 400.

It's looks like this:

The problem (http://prntscr.com/5d8snp)

This behavior is observed for all my UITableViews. Can you suggest something? In code I also didn't do anything, it's all in storyboard and UITableView.

ricky3350
  • 1,710
  • 3
  • 20
  • 35
user3312949
  • 145
  • 1
  • 9
  • You can try to make changes as given in the link below: http://stackoverflow.com/questions/2595118/resizing-uitableview-to-fit-content – Karlos Jul 14 '15 at 04:46
  • You can try to make changes as given in the link below: http://stackoverflow.com/questions/18746929/using-auto-layout-in-uitableview-for-dynamic-cell-layouts-variable-row-heights – Karlos Jul 14 '15 at 05:35

0 Answers0