This question that I'm concerned about is Is it a bad thing to create views programmatically?.
From the gist of it, it appears that OP has created views programmatically and is now realizes that it could've been easier if OP had used AutoLayout. Changing the question to 'How to make programmatically created views adjust for different devices' would be too big a change and against OP's intent (although might prove useful)