Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
iOS13のモーダル表示
Search
aonuma
June 24, 2019
Programming
840
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
iOS13のモーダル表示
aonuma
June 24, 2019
Other Decks in Programming
See All in Programming
ハーネス設計入門 〜プロンプト、コンテキストの次〜
kinopeee
56
38k
Go のフラットな パッケージに 「ファイル単位の private」を 〜Linter “declscope” を作った話〜
mpyw
0
230
{ Android | Kotlin } Gradle Plugin in 2026
ryunen344
1
310
How I Stole PSI from Android Studio - DroidKaigi2026
worker8
0
120
AWS DevOps Agentで インシデント対応をAIに任せたい
honmarkhunt
7
2.8k
数年滞っていたダークモード対応をおよそ2週間で完了させる
chigichan24
0
700
AI × TiDD / 2026.09.05 Redmine 大阪
tokudiro
1
150
AIは賢い。でも実行環境は? CLIおじさんがAI時代に伝えたいこと ~ CLIおじさんがAI時代に伝えたいこと ~
curekoshimizu
1
240
個人開発基盤をまるごとCloudflareに引っ越して爆速で総合的体験を向上させた話
tinykitten
0
180
AI Agent時代のリアーキテクチャ戦略と実践
hokaccha
9
4.2k
thread_parallel_with_free-threaded_Python_and_NumPy.pdf
riku_sakamoto
0
320
Vibes Containers 〜AIで変わるコンテナ設計と運用〜
tkikuc
3
530
Featured
See All Featured
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
270
Why Our Code Smells
bkeepers
PRO
340
58k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.2k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
57k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
690
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
430
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
410
Transcript
iOS13のモーダル表示 株式会社ビデオマーケット 青沼 和裕
自己紹介 青沼 和裕 - 株式会社ビデオマーケット - iOS 開発歴 4 年
- 現在は Flutter で開発中 - 個人開発やってます - 「今日は何の日」、「恵方巻きコンパス」 etc
WWDC初参加
WWDC良かったこと - 会場の雰囲気が良い - ラボで色々聞けた - 意識が高まる
WWDC良くなかったこと - ランチが予想以上にまずかった - スーツケース持って入れなかった
iOS13のモーダル表示
スワイプして閉じれるようになった - 画面を下にスワイプして閉じれる - 特別な実装はなし
スワイプして閉じさせたくない時 - フルスクリーンで表示する ◦ modalPresentationStyle に fullScreen を設定 ◦ iOS12
と同じ表示になる
isModalInPresentation - UIViewController に iOS13 から追加されたプロパティ - true にすることで、スワイプして閉じれなく出来る -
デフォルト値は false - 編集出来る画面等で、 ◦ 編集中に isModalInPresentation に true を設定することで、編集中に スワイプして閉じられるのを防ぐことが出来る
presentationControllerShouldDismiss - UIPresentationController に iOS13 から追加された delegate メソッド - false
を返すことで、スワイプして閉じれなく出来る - presentationControllerWillDissmiss - presentationControllerDidDissmiss
presentationControllerDidAttemptToDismiss - UIPresentationController に iOS13 から追加された delegate メソッド - スワイプして閉じようとした時に呼ばれる
- 閉じる時の確認などが出来る - isModalInPresentation が true の時または、 presentationControllerhouldDissmiss が false を返す時のみ呼ばれる
None
まとめ
- デフォルトでスワイプして閉じるが出来て良い - 既存のアプリを iOS13 に対応する際に、スワイプして閉じさせたくない画面は実装が 必要になる - スワイプして閉じさせたくない画面については、フルスクリーンでの対応が一番簡単 そう
ご静聴ありがとうございました
- WWDC セッション Modernizing Your UI for iOS 13 ◦
https://developer.apple.com/videos/play/wwdc2019/224/ - isModalInPresentation ◦ https://developer.apple.com/documentation/uikit/uiviewcontroller/3229894-ismodalinpresentation - presentationControllerDidAttemptToDismiss ◦ https://developer.apple.com/documentation/uikit/uiadaptivepresentationcontrollerdelegate/322 9888-presentationcontrollerdidattempt?language=objc - Human Interface Guidelines ◦ https://developer.apple.com/design/human-interface-guidelines/ios/app-architecture/modality/