参考:
http://my.oschina.net/u/171400/blog/134847
http://studentdeng.github.io/blog/2014/06/13/auto-layout/
http://www.cnblogs.com/thefeelingofsimple/p/3316300.html
http://blog.csdn.net/dizzthxl/article/details/9009537