Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
特定のViewControllerを表示するときだけTabBarを隠したい
Search
TAKEDA Yuki
October 01, 2019
Technology
610
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
780
Other Decks in Technology
See All in Technology
20261017福岡devIO 「AIは"良いダッシュボード"を作れるか?
jtakeda
0
230
Claude Code on Bedrock で統制をかける小ネタ集/claude-code-bedrock-governance-tips
emiki
1
140
AIにシークレットを見せない、WSL2で安全な開発環境
yazm
0
330
Turning Repos into the Product Second Brain with an LLM Wiki
linedevth
0
130
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
130
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
340
How to Design Configuration for Rails Applications
willnet
1
1.1k
ガチで放置できるClaude Code実行環境の作り方.pdf
lamaglama39
0
2.6k
macOS Golden Gate 時代のMac管理
tategami
0
120
アカウント統制の健康診断
kenichinakamura
1
100
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
1k
こんにちは!SORACOM です & IoT とは【SORACOM UG 東北 in 八戸】
soracom
PRO
0
170
Featured
See All Featured
The Language of Interfaces
destraynor
162
27k
How GitHub (no longer) Works
holman
316
150k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
300
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
How to make the Groovebox
asonas
2
2.5k
Testing 201, or: Great Expectations
jmmastey
46
8.3k
4 Signs Your Business is Dying
shpigford
187
23k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
270
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
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Βͳ͍͜ͱͨ͘͞Μ͋ͬͨ