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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
670
Other Decks in Technology
See All in Technology
Eight Engineering Unit 紹介資料
sansan33
PRO
3
8.1k
PLaMo 3.0 Primeの事後学習
pfn
PRO
0
270
最高のシステムプロンプトを作るためにフィードバック機能を導入した話
alchemy1115
1
330
組織にどうSREを根付かせるか?〜IVRyの場合〜
abnoumaru
0
320
ラジオの科学
frievea
0
210
タクシーアプリ『GO』の実践的データ活用〜位置情報データの収集とStreamlitでの可視化〜
mot_techtalk
2
200
『三匹の子ぶた』から学ぶネットワークセキュリティの昔と今 / Network Security: Then and Now Through the Lens of The Three Little Pigs
nttcom
1
1.7k
個人OSSが、机の上から世界に広がるまでの話
shinyasaita
1
340
侵入は突然に 〜 IoTマルウェアと悪用される家庭の機器 ~ / When Intrusion Strikes: IoT Malware and the Abuse of Home Devices
nttcom
0
1.5k
【CEDEC2026】『Relink』を拡張せよ - 『GRANBLUE FANTASY: Relink - Endless Ragnarok』の開発速度と品質を守るCI運用
cygames
PRO
0
120
20260801_スクフェス大阪
kgnkhkr
1
1.1k
PLaMoを毎日の開発で使い育てていく
pfn
PRO
0
180
Featured
See All Featured
Building an army of robots
kneath
306
46k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
240
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
350
Amusing Abliteration
ianozsvald
1
240
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
980
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
290
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
790
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
330
Making the Leap to Tech Lead
cromwellryan
135
10k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Google's AI Overviews - The New Search
badams
0
1.1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.2k
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Βͳ͍͜ͱͨ͘͞Μ͋ͬͨ