IOS: AutoLayout UITableView -> UITableViewCell not showing correct size

Hoay Min Yap

Basically i am trying to figure out why the cell does not go all the way to the end base on the device width. On iPhone6 it still show 320 in width instead of 375. Here http://1drv.ms/1E7Nrqp is a sample project i created.

Thanks, Hoay

va05
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {

         self = [[[NSBundle mainBundle] loadNibNamed:@"TableViewCell" owner:self options:nil] lastObject];


    }
    return self;
}

In TableViewCell.m write the above code

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

iOS: Autolayout not showing correct size in iPhone

From Dev

iOS: Autolayout not showing correct size in iPhone

From Dev

Swift: UITableViewCell size to width of parent UITableView with autolayout enabled

From Dev

iOS autolayout result is not correct

From Dev

UITableViewWrapperView and UITableView size differs with autolayout

From Dev

Custom UITableViewCells not showing correct data from UITableView in iOS

From Dev

Get the size of UIButton inside a custom UITableViewCell with Autolayout

From Dev

iOS: UIButton Autolayout size is zero

From Dev

Custom UITableViewCell never showing up with AutoLayout self-sizing

From Dev

UICollectionView Cell Auto Size with AutoLayout iOS 8

From Dev

iOS: Set View Size in Code with Autolayout enabled

From Dev

UITableView dynamic content size height inside UIScrollView with AutoLayout

From Dev

Scrolling in UITableView embedded in UITableviewCell (ios7)

From Dev

Scrolling in UITableView embedded in UITableviewCell (ios7)

From Dev

Multiline UILabel in a UITableViewCell giving the wrong height with autoLayout in iOS8

From Dev

UILabel Autolayout ignores UITableViewCell's left margin on iOS 8.1 and 8.2

From Dev

UITableViewCell AccessoryViews not showing in iOS6 but showing in iOS7

From Dev

IndexPath not showing correct number for iOS?

From Dev

IndexPath not showing correct number for iOS?

From Dev

Correct data not showing in ios Charts

From Dev

iOS8 UITableView with autolayout has a blank space above cells

From Dev

Resize UITableView Header AND containing UITextView (iOS7 + AutoLayout)

From Dev

UITableViewCell accessoryView not showing in iOS9

From Dev

UITextView - Truncate text on iOS 6 showing ellipsis (using Autolayout)

From Dev

iOS 6 custom grouped UITableViewCell incorrect size

From Dev

iOS 8 sizeThatFits for UITextView text not returning correct height (AutoLayout)

From Dev

Correct way to change WIndow Size before showing

From Java

Autolayout is ignored in Custom UITableViewCell

From Dev

Trouble with AutoLayout on UITableViewCell

Related Related

  1. 1

    iOS: Autolayout not showing correct size in iPhone

  2. 2

    iOS: Autolayout not showing correct size in iPhone

  3. 3

    Swift: UITableViewCell size to width of parent UITableView with autolayout enabled

  4. 4

    iOS autolayout result is not correct

  5. 5

    UITableViewWrapperView and UITableView size differs with autolayout

  6. 6

    Custom UITableViewCells not showing correct data from UITableView in iOS

  7. 7

    Get the size of UIButton inside a custom UITableViewCell with Autolayout

  8. 8

    iOS: UIButton Autolayout size is zero

  9. 9

    Custom UITableViewCell never showing up with AutoLayout self-sizing

  10. 10

    UICollectionView Cell Auto Size with AutoLayout iOS 8

  11. 11

    iOS: Set View Size in Code with Autolayout enabled

  12. 12

    UITableView dynamic content size height inside UIScrollView with AutoLayout

  13. 13

    Scrolling in UITableView embedded in UITableviewCell (ios7)

  14. 14

    Scrolling in UITableView embedded in UITableviewCell (ios7)

  15. 15

    Multiline UILabel in a UITableViewCell giving the wrong height with autoLayout in iOS8

  16. 16

    UILabel Autolayout ignores UITableViewCell's left margin on iOS 8.1 and 8.2

  17. 17

    UITableViewCell AccessoryViews not showing in iOS6 but showing in iOS7

  18. 18

    IndexPath not showing correct number for iOS?

  19. 19

    IndexPath not showing correct number for iOS?

  20. 20

    Correct data not showing in ios Charts

  21. 21

    iOS8 UITableView with autolayout has a blank space above cells

  22. 22

    Resize UITableView Header AND containing UITextView (iOS7 + AutoLayout)

  23. 23

    UITableViewCell accessoryView not showing in iOS9

  24. 24

    UITextView - Truncate text on iOS 6 showing ellipsis (using Autolayout)

  25. 25

    iOS 6 custom grouped UITableViewCell incorrect size

  26. 26

    iOS 8 sizeThatFits for UITextView text not returning correct height (AutoLayout)

  27. 27

    Correct way to change WIndow Size before showing

  28. 28

    Autolayout is ignored in Custom UITableViewCell

  29. 29

    Trouble with AutoLayout on UITableViewCell

HotTag

Archive