문제

they say a picture is worth thousand words so... when i dont implement layoutSubviews in custom UITableViewCell i get this

enter image description here

after implementing layoutSubviews in custom UITableViewCell i get this

enter image description here

How can i get the first picture with the implementation of layoutSubviews?

도움이 되었습니까?

해결책

Don't forget to call super:

- (void)layoutSubviews
{
    [super layoutSubviews];

    //... custom stuff
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top