So this answer was deleted by Andrew Barber, but its solid work around, and it is useful, so I am posting it again:
1) DO NOT have views or components laid out in the interface constructor.
2) Add your views purely programmatically, starting with alloc / init and adjusting their frames accordingly.
3) Done.
Hope this helps!
ps. You can also experiment with the limitations of taking views off with:
[view removeConstraints: view.constraints] but I was more fortunate to use clean code.
source
share