В iOS 7 мы теперь можем добавить ограничение между представлением и верхним макетом, которое, как мне кажется, очень полезно для решения проблемы смещения строки состояния в iOS7 (особенно, когда в представлении нет панели навигации).
В файле раскадровки я могу легко добавить такие ограничения. Просто держите контрольный ключ, затем перетащите представление в контейнер, он отобразит опцию "Top Space to Top Layout Guide".
Но когда я делаю ту же операцию в файле xib, этот параметр исчезает.
Итак, есть ли способ добавить такие ограничения в xib файлах? Или мне нужно добавить их с кодом?