0
首先,我在UINavigationController
中有一個UITableViewController
,並且我通過將BackgroundImage設置爲空圖像來製作透明的UINavigationBar
。將TableView放在導航欄下
現在我想讓TableView在NavigationBar下啓動。我已經嘗試將automaticallyAdjustsScrollViewInsets
設置爲false
並將edgesForExtendedLayout
設置爲全部。
我正在使用Xcode 9測試版。
我把它改爲UIEdgeInsetsMake( - 64,0,0,0)和它的工作。現在有什麼想法我怎麼告訴指標從頂端開始呢? – Maci
當然,請看看我更新的答案 – atulkhatri
如果你現在將它改爲-64,我終於可以接受你的答案。 :] – Maci