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.2k
コントロールセンターとたたかう
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
360
ゲーム音楽が好きすぎて実機から録音したけど需要ありますか?
5mingame2
2
720
正規表現苦手なんです...
5mingame2
1
530
OpenGLを試すなら
5mingame2
0
580
課金処理とたたかう.pdf
5mingame2
1
780
Emacs meets Vim
5mingame2
1
700
タッチジェスチャーとたたかう
5mingame2
4
700
教えて!Xcode
5mingame2
4
1.6k
つかおう!滑らか移動
5mingame2
0
540
Other Decks in Programming
See All in Programming
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
9
2.3k
ISUCON14感想戦で85万点まで頑張ってみた
ponyo877
1
470
Kaigi on Railsに初参加したら、その日にLT登壇が決定した件について
tama50505
0
140
watsonx.ai Dojo #6 継続的なAIアプリ開発と展開
oniak3ibm
PRO
0
150
非ブラウザランタイムとWeb標準 / Non-Browser Runtimes and Web Standards
petamoriken
0
420
GitHub CopilotでTypeScriptの コード生成するワザップ
starfish719
26
5.9k
Go の GC の不得意な部分を克服したい
taiyow
3
1k
traP の部内 ISUCON とそれを支えるポータル / PISCON Portal
ikura_hamu
0
170
QA環境で誰でも自由自在に現在時刻を操って検証できるようにした話
kalibora
1
130
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
2
890
ある日突然あなたが管理しているサーバーにDDoSが来たらどうなるでしょう?知ってるようで何も知らなかったDDoS攻撃と対策 #phpcon.2024
akase244
2
7.7k
LLM Supervised Fine-tuningの理論と実践
datanalyticslabo
8
1.8k
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
74
5.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
The Invisible Side of Design
smashingmag
299
50k
Six Lessons from altMBA
skipperchong
27
3.5k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
950
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Into the Great Unknown - MozCon
thekraken
34
1.6k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
19
2.3k
VelocityConf: Rendering Performance Case Studies
addyosmani
327
24k
How STYLIGHT went responsive
nonsquared
96
5.3k
Optimising Largest Contentful Paint
csswizardry
33
3k
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 Ҏ্Ͱ͢ʂ
ΞϓϦධ৴தʂ