iPadOS Multitasking
iPadOS Multitasking is new in iOS 13. Learn how to run multiple instances of your app and how to keep the data between these instances in sync. See how to implement state restoration, unique UIs across separate instances, and even drag and drop between two different apps in SwiftUI. By Jonathan S Wong.
Who is this for?
Intermediate iOS developers who are ready to leverage iPadOS multitasking and support multiple instances of their app. This course expects you to be familiar with Xcode and Swift programming.
Covered concepts
- Support Multiple Windows
- Communicate Across Multiple Windows
- Support State Restoration
- Create Separate UIs Across Windows
- Keeping Scenes Up to Date
- Support Drag and Drop
Review the multiple window paradigm in iPadOS and start to set up the app to support multiple windows by configuring the project in Xcode and updating the Info.plist.
Single window app development differs compared to multiple windows. You'll need to add logic to make sure your instances stay in sync across multiple windows.
Restoring parts of your application's UI is a must to give a good user experience. See how to implement state restoration with the new iOS 13 UISceneDelegate API.
See how to create a separate UI that doesn't mirror the existing UI in a separate window by leveraging the UISceneDelegate and Info.plist configuration.
When a scene is backgrounded, learn how to keep your scenes up to date in App Expose for each of your windows with new APIs.
Multitasking doesn't just mean multiple instances of your app running, but also your app and another app running side-by-side. See how to add that extra bit of polish by supporting drag and drop across apps.