w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
iOS 8: UITableView crashes on heightForRowAtIndexPath (worked fine on iOS7)

Okay, got it working now.

The thing is: In your custom UITableViewCell classes, do not set self.contentView.translatesAutoresizingMaskIntoConstraints = NO; (Even if you are using AutoLayout)

I don't know why, but when this is set, the crash happens.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.