In my ongoing experimentation with getting a fixed view above my table view, I'm trying to do what I did successfully in the days before autolayout: separate the UITV's view and tableView properties. This works, but I can't figure out how to make it work with autolayout constraints.
The problem is that IB/iOS create autoresizing mask constraints on the table view. By the time I can setTranlates to NO, it's too late, the constraints are made. So I try to remove them in -viewDidLoad, by calling: [self.tableView.superview removeConstraints: self.tableView.constraints] But this has no effect. I tried calling it on self.tableView, as well. The constraints are still there after removal. I'm doing this in an attempt to programmatically create constraints for both the table view and the banner view that live within a programmatically-created UIView. I need the constraints because the banner slides in from the top when shown, and slides out when hidden (this part is currently working with the view container solution I have). -- Rick
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com