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.4k
2
Share
コントロールセンターとたたかう
potatotips #64 で発表した資料です。
https://potatotips.connpass.com/event/139008/
Nobuyuki Nishiyama
August 27, 2019
More Decks by Nobuyuki Nishiyama
See All by Nobuyuki Nishiyama
C++ MIX #11 これどう読むの...?
5mingame2
0
510
ゲーム音楽が好きすぎて実機から録音したけど需要ありますか?
5mingame2
2
850
正規表現苦手なんです...
5mingame2
1
630
OpenGLを試すなら
5mingame2
0
670
課金処理とたたかう.pdf
5mingame2
1
900
Emacs meets Vim
5mingame2
1
780
タッチジェスチャーとたたかう
5mingame2
4
800
教えて!Xcode
5mingame2
4
1.9k
つかおう!滑らか移動
5mingame2
0
610
Other Decks in Programming
See All in Programming
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
330
Hive Metastoreを通して学ぶIceberg REST Catalog ― 仕様から実装まで
okumin
0
310
プロパティの順序で型推論が壊れる!? TypeScript6.0の修正からContext-Sensitivityの仕組みを追う
bicstone
2
1.3k
新規プロダクトを高速で生み出すハーネスエンジニアリング
seanchas116
19
7.7k
さぁV100、メモリをお食べ・・・
nilpe
0
120
Spec-Driven Development with AI-Agents: From High-Level Requirements to Working Software
antonarhipov
2
400
AI時代のUIはどこへ行く?その2!
yusukebe
16
5.5k
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.3k
Copilot CLI の継戦能力を高める コンテキスト管理
nozomutu
1
1.1k
「エンジニアインターン、どうやって取った?」準備のリアルを語るLT会 Progate BAR
akiomatic
0
110
自動レビューエンジンの実装と運用 ~レビューのない世界へ~
kurukuru1999
2
300
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
510
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.5k
Heart Work Chapter 1 - Part 1
lfama
PRO
7
36k
Why Our Code Smells
bkeepers
PRO
340
58k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
280
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
210
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
So, you think you're a good person
axbom
PRO
2
2k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.6k
AI: The stuff that nobody shows you
jnunemaker
PRO
7
670
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
350
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.5k
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 Ҏ্Ͱ͢ʂ
ΞϓϦධ৴தʂ