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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
Transcript
20 slides
ಛఆͷ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Βͳ͍͜ͱͨ͘͞Μ͋ͬͨ
More Decks by TAKEDA Yuki
See All by TAKEDA Yuki
15年目のiOSアプリを1から作り直す技術
teakun
1
810
Other Decks in Technology
See All in Technology
Dark Web - Como o Cibercrime Opera na Internet
nicholsjasper
0
120
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
3
670
ポケモンバトルのAIエージェント
koji_kawamura
0
250
Libérez Firefox et Thunderbird avec nos astuces
hellosct1
0
180
メディアアートを〈拡張〉する——器官学と個体化論を手がかりに
_kotobuki_
0
300
AWS Blocksで AIエージェント作れるの知ってます?
kmiya84377
1
170
NutanixへのSSHアクセスの今後について
shadowhat
0
180
Webメール開発を大幅に変えたJMAPというゲームチェンジャー
tascript
8
4k
MCPでネットワーク障害調査を自動化する前に直すべき3つのこと
yama3133
1
670
プラガブルで宣言的なソフトウェアファクトリーを支えるTypeScript
timakin
4
1.2k
デザインシステムのフィードバックループをほぼ自動化した話
tongari07
0
480
gradle-best-practices 使ってみた
mikanichinose
0
230
Featured
See All Featured
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
580
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
The Limits of Empathy - UXLibs8
cassininazir
2
800
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
6
970
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.3k
First, design no harm
axbom
PRO
2
1.4k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
3k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.8k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
A better future with KSS
kneath
240
18k