Programatically Set Autolayout Constraints in iOS. By James | July 6, 2015 0 Comment Here is a simple programs that creates two buttons programatically and sets its constraints.