uitabbar

    0熱度

    1回答

    我有幾個控制器鏈接到TabBar控制器。 每次我從一個標籤切換到另一個時,顯示前一個控制器。我認爲,當我選擇一個選項卡時,會構建一個新的控制器並顯示其新視圖。是否有可能產生這種行爲,而不是像隱藏時那樣顯示視圖?

    0熱度

    1回答

    我有一個UITabBar 5個選項卡。 我設置了一個「unselectedImage」到tabBarItem的image屬性和「selectedImage」到tabBarItem的selectedImage屬性。 「selectedImage」是一個帶有漸變的圖像,但它以tabBar.tintColor的顏色顯示。 那麼我怎樣才能取消tintColor並使原始圖像呈現(而不是用tintColor着

    0熱度

    1回答

    Hi我的TabBarViewController層次結構就像這樣。與tabbar連接的所有ViewControllers都沒有navigationController。 UIViewController(主視圖),當推其導航到基於ViewControllertabBar在索引0,用戶可以在導航欄上使用後退按鈕在任何時間來自tabBarViewControllers回到家裏viewControlle

    0熱度

    1回答

    我正在處理一個要合併SWRevealViewController的項目。我能得到我的菜單幻燈片顯示與下面的代碼上的菜單按鈕,點擊時顯示: if self.revealViewController() != nil { menuButton.target = self.revealViewController() menuButton.action = "revealToggle:" self.vi

    0熱度

    1回答

    我想透過父VC顯示透明的ViewController。 let sdVC = ShowDetailsViewController() sdVC.delegate = self sdVC.modalPresentationStyle = UIModalPresentationStyle.OverCurrentContext self.presentViewController(sdVC, an

    1熱度

    3回答

    將Xcode更新爲Xcode 8後,我正面臨着這個奇怪的問題。我有一個標籤欄,並在其中3個選項卡時TAB1選擇標籤欄和導航是這樣的: 標籤欄的背景色爲白色,但其呈現出深色而不是 當我選擇任何其他選項卡中的問題得到解決 下面的圖片中我選擇TAB2 我不知道爲什麼會發生,但在tab1的ViewController我有一個tableView和tab2我有一個ViewController 有人知道爲什麼會

    0熱度

    2回答

    我的問題在於,當接到電話或WiFi熱點處於活動狀態時,底部的標籤欄會移出屏幕。 好像這就是我需要使用,但我不會用它 developer.xamarin.com/api/property/MonoTouch.UIKit.UIView.AutoresizingMask/成功 如何解決此問題?

    0熱度

    3回答

    我有兩個控制器,主要和細節,嵌入navigationController和TabBarController;現在我需要在執行segue時隱藏TabBar;我想: 在preparefor加入controller.hidesBottomBarWhenPushed = true主控制器(segue9方法; 詳細控制器viewDidAppear或viewWillAppear添加self.hidesBott

    1熱度

    1回答

    我想弄清楚標籤欄視圖內製作標籤欄控制器的方法。 基本上,如果最初的標籤欄控制器鏈接到tab1,tab2和tab3,我希望標籤欄存在於分支到Day1,Day2和Day3的tab1中。 到目前爲止,我一直在失敗,我想知道它是否可以編程。 tab1中的標籤欄也必須位於頂部,這是否意味着我需要一個自定義標籤欄? 謝謝。

    5熱度

    3回答

    我有一個UITabBar,我想讓它變得模糊。我寫了下面的代碼: import UIKit class TabBarController:UITabBarController { override func viewDidLoad() { super.viewDidLoad() let blur = UIBlurEffect(style: UIBlurEffe