Align subviews trailing end to superviews center X axis using Autolayout
You can just change the constraint to align the trailing edge to the center - first create a normal horizontal centring constraint, and then edit that constraint to change the value to trailing for the subview.