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.1k
コントロールセンターとたたかう
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
230
ゲーム音楽が好きすぎて実機から録音したけど需要ありますか?
5mingame2
2
670
正規表現苦手なんです...
5mingame2
1
490
OpenGLを試すなら
5mingame2
0
550
課金処理とたたかう.pdf
5mingame2
1
730
Emacs meets Vim
5mingame2
1
670
タッチジェスチャーとたたかう
5mingame2
4
670
教えて!Xcode
5mingame2
4
1.6k
つかおう!滑らか移動
5mingame2
0
480
Other Decks in Programming
See All in Programming
さきがけから振り返るアーキテクチャ刷新 / Reflecting on the Architectural Renewal from the Vanguard
nrslib
2
780
HMSコンペ 11th Solution (team : kansai-kaggler)
t88
1
680
Cloudflare Workers x AWS Lambdaの組み合わせユースケース / Cloudflare Workers x AWS Lambda Combination Use Case
seike460
PRO
2
310
【Go言語】ジェネリクス
tomo1227
0
170
CSC307 Lecture 10
javiergs
PRO
0
310
Trial
cairolibrary720
1
130
The rollercoaster of releasing an Android, iOS, and macOS app with Kotlin Multiplatform | droidcon Berlin
prof18
0
110
I/O Extended Android in Korea 2024 ~ Whats new in Android development tools
pluu
0
250
Introduction to GitOps
hwchiu
0
110
スクラムマスターって孤独じゃないですか?
yoshitaroyoyo
1
140
From Spring Boot 2 to Spring Boot 3 with Java 22 and Jakarta EE
ivargrimstad
0
1.9k
Play Billing Library 7.0.0 変更点まとめ@potatotips#88
kako351
0
160
Featured
See All Featured
Automating Front-end Workflow
addyosmani
1362
200k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
78
15k
Building an army of robots
kneath
301
42k
How to Ace a Technical Interview
jacobian
274
23k
Documentation Writing (for coders)
carmenintech
63
4.2k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
360
22k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
224
21k
Robots, Beer and Maslow
schacon
PRO
157
8.1k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
26
1.6k
Fashionably flexible responsive web design (full day workshop)
malarkey
399
65k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
121
18k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
502
140k
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 Ҏ্Ͱ͢ʂ
ΞϓϦධ৴தʂ