Do you mean the auto resizing has to be off while adding constraint? In my case the parent view will be table view and if i add that like var rightSpaceConstraint = NSLayoutConstraint.Create (titleTxt, NSLayoutAttribute.Trailing, NSLayoutRelation.Equal, tableView, NSLayoutAttribute.Right, 1.0f, 20f);
Then is crashes. I guess thats why it is not applying correctly. -- View this message in context: http://monotouch.2284126.n4.nabble.com/Add-constraint-to-UITextField-programmatically-tp4658505p4658507.html Sent from the MonoTouch mailing list archive at Nabble.com. _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
