'hideUISearchBarWhenScrolling'-Property not working with tableView as property
问题 I played around with the new Swift4/iOS11 possibilities and stuck with the problem that hideSearchBarWhenScrolling isn't working with a tableView as a property in UIViewController. In UITableViewController it's working like it should work. What am I doing wrong? Somebody issued the same problem an has an solution for this? class AddController: UIViewController { let tableView: UITableView = { let tv = UITableView() tv.translatesAutoresizingMaskIntoConstraints = false return tv }() let