当出现The selected views have no constraints. At build time, explicit left, top, width, and height constraints will be generated for the viewsh时候
Editor --> Resolve Auto Layout issues --> Add missing constraints in View Controller可解决
原文地址:http://9179654.blog.51cto.com/9169654/1670309