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
440
ゲーム音楽が好きすぎて実機から録音したけど需要ありますか?
5mingame2
2
790
正規表現苦手なんです...
5mingame2
1
580
OpenGLを試すなら
5mingame2
0
620
課金処理とたたかう.pdf
5mingame2
1
830
Emacs meets Vim
5mingame2
1
740
タッチジェスチャーとたたかう
5mingame2
4
750
教えて!Xcode
5mingame2
4
1.8k
つかおう!滑らか移動
5mingame2
0
580
Other Decks in Programming
See All in Programming
TDD 実践ミニトーク
contour_gara
1
280
フロントエンドのmonorepo化と責務分離のリアーキテクト
kajitack
2
160
Testing Trophyは叫ばない
toms74209200
0
650
プロポーザル駆動学習 / Proposal-Driven Learning
mackey0225
2
710
Azure SRE Agentで運用は楽になるのか?
kkamegawa
0
1.4k
MCPとデザインシステムに立脚したデザインと実装の融合
yukukotani
4
1.2k
Introducing ReActionView: A new ActionView-compatible ERB Engine @ Rails World 2025, Amsterdam
marcoroth
0
500
コンテキストエンジニアリング Cursor編
kinopeee
1
750
オープンセミナー2025@広島「君はどこで動かすか?」アンケート結果
satoshi256kbyte
0
240
速いWebフレームワークを作る
yusukebe
5
1.7k
CloudflareのChat Agent Starter Kitで簡単!AIチャットボット構築
syumai
2
400
Kiroの仕様駆動開発から見えてきたAIコーディングとの正しい付き合い方
clshinji
1
200
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
42
2.8k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.1k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Into the Great Unknown - MozCon
thekraken
40
2k
Six Lessons from altMBA
skipperchong
28
4k
4 Signs Your Business is Dying
shpigford
184
22k
Why Our Code Smells
bkeepers
PRO
339
57k
Designing for Performance
lara
610
69k
The Cult of Friendly URLs
andyhume
79
6.6k
Art, The Web, and Tiny UX
lynnandtonic
302
21k
Scaling GitHub
holman
463
140k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
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 Ҏ্Ͱ͢ʂ
ΞϓϦධ৴தʂ