Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
特定のViewControllerを表示するときだけTabBarを隠したい
Search
TAKEDA Yuki
October 01, 2019
Technology
590
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
特定のViewControllerを表示するときだけTabBarを隠したい
TAKEDA Yuki
October 01, 2019
More Decks by TAKEDA Yuki
See All by TAKEDA Yuki
15年目のiOSアプリを1から作り直す技術
teakun
1
680
Other Decks in Technology
See All in Technology
Kiro WebとCloud Sessions
nagisa53
2
200
Android skills に学ぶ
kokiko
0
180
「面白い!」を信じ抜け。激動の時代を貫く、オンリーワン・エンジニアの条件
kizawa2020
0
230
AI時代の「OAuth認証」にどう物申すか?(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
250
ハッカソンで入賞した話 @ Findy LT
asari194617
0
1.5k
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
460
紙 to デジタル
ichien178
0
120
【書籍出版記念】 10周回って、エージェント開発は RAGがすべてだった。〜RAGの歴史と開発現場で見えた実践知〜
akiratameto
20
7.5k
三人寄ればチューリング完全
puhitaku
6
3.2k
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
4
24k
AI駆動開発をチームに根付かせる - 「1行も書かない」チームがHarnessを育てた1年 -
kenichirokimura
2
140
AI時代のアウトプット――変わったこと、変わらないこと / Devsumi 2026 Kansai #devsumi
jnchito
0
580
Featured
See All Featured
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
870
A Soul's Torment
seathinner
6
3.5k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
480
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
380
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.5k
Building the Perfect Custom Keyboard
takai
2
850
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
260
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Typedesign – Prime Four
hannesfritz
42
3.1k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.5k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
740
Transcript
ಛఆͷViewControllerΛදࣔ͢Δͱ͖͚ͩ TabBarΛӅ͍ͨ͠ ా ༔ᏻ potatotips #65
ࣗݾհ • ా ༔ᏻ (͚ͨͩ Ώ͏͖) • ୲αʔϏε • ϠϑΦΫʂ
iOS 0__1_tea teakun
ࠓճհ͢Δ͜ͱ
͜ͷViewControllerΛදࣔ͢Δͱ͖͚ͩTabBarΛӅ͍ͨ͠
લఏ TabBar → ← NavigationController
Demo https://github.com/teakun/HideTabSample
λϒΛফ͢ʹ hidesButtomBarWhenPushed … trueࢦఆͰλϒ͕ফ͑Δ
hidesButtomBarWhenPushed hidesButtomBarWhenPushed true false ͳ͔ͥӅΕͯ͠·͏
ͳͥͳͷ͔
hidesButtomBarWhenPushedͷڍಈΛ୳Δ hidesButtomBarWhenPushed hidesButtomBarWhenPushed true false
hidesButtomBarWhenPushedͷڍಈΛ୳Δ hidesButtomBarWhenPushed hidesButtomBarWhenPushed true false push࣌ͰNavigationControllerͷελοΫͷதʹ 1ͭͰhidesButtomBarWhenPushed͕trueͷ VC͕͋ΔͱTabBar͕ӅΕͯ͠·͏!
ͱ͍͏͜ͱͰ͜ͷΛղܾ͢Δ
ղܾࡦ hidesButtomBarWhenPushed hidesButtomBarWhenPushed true false
ղܾࡦ hidesButtomBarWhenPushed hidesButtomBarWhenPushed true → false false
࣮(push)
࣮(push) λϒΛӅ͍ͨ͠7$ͳΒ USVFΛೖΕΔ λϒΛදࣔ͢Δͱ͖ ͜Ε·ͰͷελοΫʹ͋Δ7$Ͱ GBMTFʹͳΔΑ͏ʹ
࣮(pop)
࣮(pop) λϒΛӅ͍ͨ͠VCͰpushͷͱ͖ʹ falseʹͨ͠ͷͰtrueʹ͢
None
·ͱΊ • ಛఆͷViewControllerΛදࣔ͢Δͱ͖͚ͩTabBarΛӅ͢ํ๏Λ ͝հ • ·ͩ·ͩUIKitΒͳ͍͜ͱͨ͘͞Μ͋ͬͨ