8
還有就是UIView
一個新的屬性:在iOS8上layoutMargin
。的UIView layoutMargins在Interface Builder
爲了設置視圖編程的邊緣:
self.view.layoutMargins = UIEdgeInsetsMake(0, 0, 10, 10);
是否有可能設置頁邊距在Interface Builder?
還有就是UIView
一個新的屬性:在iOS8上layoutMargin
。的UIView layoutMargins在Interface Builder
爲了設置視圖編程的邊緣:
self.view.layoutMargins = UIEdgeInsetsMake(0, 0, 10, 10);
是否有可能設置頁邊距在Interface Builder?
這個答案可以幫助你:http://stackoverflow.com/a/25261327/1728118 Z. – 2015-02-05 18:52:55
我也不能找到一種方法。 :( – livingtech 2015-05-05 15:42:56
爲什麼不使用IBInspectable屬性?添加字段(上,左,下,右堂妹插圖尚不支持),新擴展的UIViewController和值IB – HotJard 2015-09-05 15:34:48