タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

tipsとuiに関するabtkyのブックマーク (1)

  • UITabBar、UINavigationBarの高さ - すぎゃーんメモ

    UITabBarController, UINavigationControllerを使っているときに、TabBarやNavigationBarによって占有された残りのView領域の大きさを取得したい。 そう思って色々調べたもののなかなか見つからなかった。とりあえず高さ480からステータスバーで20、あとはNavigationBar, TabBarの高さがそれぞれ分かれば、、、と。 結局たどり着いたのは、UITabBarControllerのrotatingFooterView, rotatingHeaderViewを使う方法。 UITabBarControllerの中のUINavigationControllerの中のUIViewControllerからなら、 CGFloat navHeight = [[[self tabBarController] rotationgHeaderVie

    UITabBar、UINavigationBarの高さ - すぎゃーんメモ
  • 1