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
コントロールセンターとたたかう
Search
Nobuyuki Nishiyama
August 27, 2019
Programming
2
2.3k
コントロールセンターとたたかう
potatotips #64 で発表した資料です。
https://potatotips.connpass.com/event/139008/
Nobuyuki Nishiyama
August 27, 2019
Tweet
Share
More Decks by Nobuyuki Nishiyama
See All by Nobuyuki Nishiyama
C++ MIX #11 これどう読むの...?
5mingame2
0
460
ゲーム音楽が好きすぎて実機から録音したけど需要ありますか?
5mingame2
2
810
正規表現苦手なんです...
5mingame2
1
590
OpenGLを試すなら
5mingame2
0
630
課金処理とたたかう.pdf
5mingame2
1
850
Emacs meets Vim
5mingame2
1
750
タッチジェスチャーとたたかう
5mingame2
4
760
教えて!Xcode
5mingame2
4
1.8k
つかおう!滑らか移動
5mingame2
0
580
Other Decks in Programming
See All in Programming
なあ兄弟、 余白の意味を考えてから UI実装してくれ!
ktcryomm
4
1.5k
Atomics APIを知る / Understanding Atomics API
ssssota
1
220
これだけで丸わかり!LangChain v1.0 アップデートまとめ
os1ma
3
120
分散DBって何者なんだ... Spannerから学ぶRDBとの違い
iwashi623
0
110
Claude Code on the Web を超える!? Codex Cloud の実践テク5選
sunagaku
0
610
CSC509 Lecture 13
javiergs
PRO
0
260
Herb to ReActionView: A New Foundation for the View Layer @ San Francisco Ruby Conference 2025
marcoroth
0
200
Web エンジニアが JavaScript で AI Agent を作る / JSConf JP 2025 sponsor session
izumin5210
4
2k
flutter_kaigi_2025.pdf
kyoheig3
1
360
複数チーム並行開発下でのコード移行アプローチ ~手動 Codemod から「生成AI 活用」への進化
andpad
0
190
高単価案件で働くための心構え
nullnull
0
170
手軽に積ん読を増やすには?/読みたい本と付き合うには?
o0h
PRO
1
110
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
The Language of Interfaces
destraynor
162
25k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
350
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
118
20k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
[RailsConf 2023] Rails as a piece of cake
palkan
57
6.1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.8k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Transcript
QPUBUPUJQT ίϯτϩʔϧηϯλʔͱ͔ͨͨ͏ ΅ͬͪήʔϜσϕϩού ࢁ৴ߦɹ
࡞ΞϓϦʮύζϧˍϞφʔΫʯ͕ +BQBOFTF)"/+057ʹͯऔΓ্͛ΒΕ·ͨ͠ʂ ΩϛϊϛϠͰݕࡧʂʂ
ՆΠϕϯτࡾດ w ਅՆͷσβΠϯϑΣελ w ίϛοΫϚʔέοτ w ίϛςΟΞ
ϒʔεʹࢼ༡ػΛஔ͍ͨ
ࢼ༡Λ؍͢Δͱ ఆ֎ͷૢ࡞ΛͷͨΓʹ͢Δ
͜Ε͕Ұ൪Ҿ͔͔ͬͬͨ
͜ͷήʔϜͰҾ͔͔͍ͬͬͯͨ w ʮύζυϥίϯτϩʔ ϧηϯλʔʯ Ͱݕࡧͯ͠ΈΔͱΑ͍
ͰࠓͳΒ͜͏Ͱ͖·͢
wը໘֎͔ΒͷεϫΠϓͰʮϕϩʯ͕ग़Δʹཹ· Δ ͓Θ͔Γ͍͚ͨͩͨͩΖ͏͔
࣮ྫ @implementation MyUIViewController - (id)init { // iOSのバージョンを判定する便利なマクロ if (@available(iOS
11.0, *)) { // システムジェスチャー操作を遅延させる [self setNeedsUpdateOfScreenEdgesDeferringSystemGestures]; } } // 有効かどうか返すメソッド - (UIRectEdge)preferredScreenEdgesDeferringSystemGestures { // 画面端全てのシステムジェスチャー操作を遅延 return UIRectEdgeAll; } @end
͜Εʹͯղܾʂ
͋ͱ͏̍ͭ
͓Θ͔Γ͍͚ͨͩͨͩΖ͏͔
͜Εͳ͔ͳ͔ͭΒ͍
࣮ྫ @implementation MyUIViewController - (id)init { if (@available(iOS 11.0, *))
{ // Home Indicatorを隠す [self setNeedsUpdateOfHomeIndicatorAutoHidden]; } } // 有効かどうか返すメソッド - (BOOL)prefersHomeIndicatorAutoHidden { return YES; } @end
μϝͰͨ͠ ϗʔϜΠϯδέʔλӅΕΔ͕ ૢ࡞ͦͷ··
৺ͨΓͷํʂ ͋ͱͰڭ͍͑ͯͩ͘͞ʂʂ
w ! !NJOHBNF w " NJOHBNF w # UFLOJTIJ Ҏ্Ͱ͢ʂ
ΞϓϦධ৴தʂ