swift - NSLayoutConstraints crashing on ios7 but not on ios8 -
I've encountered the same iOS version 7 release calling self.view.layoutIfNeeded (in) super. ViewDidLayoutSubviews instead of function (function) at the end of the viewDidLayoutSubviews method resolves the problem.
code snippet
override func viewDidLayoutSubviews () {// your statements self.reloadData () // function type statement down at the end of self.view Leautaifanideed ()}
Comments
Post a Comment