1A)UINavigationBar的變化(上欄) 在你的appDelegate膏:
//make status bar (with time, battery status) white
UINavigationBar.appearance().barStyle = .black
//change color of your navigation bar
UINavigationBar.appearance().barTintColor = UIColor.orange
1b)的變化UITabBar顏色:
//make selected tab orange
UITabBar.appearance().barTintColor = UIColor.orange
2)禁用編輯按鈕。 在ViewController
創建UIBarButton
的IBOutlet
,或者如果您編程然後在viewDidLoad
型 創建UIBarButton獲得對它的引用:
override func viewDidLoad() {
//...
//gray out UIBarButton
myBarButton.isEnabled = false
}
3)刪除空細胞 變化的UITableView風格在分組您的IB
4)更改表格視圖的背景顏色 在In中更改您的表格視圖的背景顏色terface生成器
5)移動標籤向左 創建自定義的UITableViewCell,拖動和在下降一個UILabel並根據需要調整x值。
編輯:更多選項卡 我想你試圖修改更多選項卡的文本。當您的選項卡中有超過5個視圖控制器時,會自動生成更多選項卡。爲了以正確的語言顯示文本,您必須爲您的項目添加一個新的本地化:點擊藍色項目圖標,進入您的項目設置並添加一種新的語言,如截圖所示。 如果您現在在已添加本地化設備(例如德語,法語)的設備上運行應用,則應以正確的語言顯示文本。
你嘗試過什麼嗎? –
我不知道如何訪問該TableView或任何它 – Lifeplus