UNPKG

apple-dev-mcp

Version:

Complete Apple development guidance: Human Interface Guidelines (design) + Technical Documentation for iOS, macOS, watchOS, tvOS, and visionOS

15 lines (14 loc) 7.29 kB
--- title: Multitasking platform: iOS category: foundations url: https://developer.apple.com/design/human-interface-guidelines/multitasking quality_score: 0.44 content_length: 6864 last_updated: 2025-07-20T03:46:15.147Z keywords: ["multitasking","ios","foundations","system","input","controls","layout","visual","feedback"] has_code_examples: false has_images: false is_fallback: false --- June 9, 2025 Reorganized guidance in platform considerations, and added guidance for multitasking with multiple windows in i Pad OS. Multitasking Multitasking lets people switch quickly from one app to another, performing tasks in each. People expect to use multitasking on their devices, and they may think something is wrong if your app doesn’t allow it. With rare exceptions — such as some games, and Apple Vision Pro apps running in a Full Space — every app needs to work well with multitasking. In addition to app switching, multitasking can present different experiences on different devices; see Platform considerations. Best practices A great multitasking experience helps people accomplish tasks in multiple apps by managing content in a variety of simultaneous contexts. Because you don’t know when people will initiate multitasking, your app or game always needs to be prepared to save and restore their context. Pause activities that require people’s attention or active participation when they switch away. If your app is a game or a media-viewing app, for example, make sure people don’t miss anything when they switch to another app. When they switch back, let them continue as if they never left. Respond smoothly to audio interruptions. Occasionally, audio from another app or the system itself may interrupt your app’s audio. For example, an incoming phone call or a music playlist initiated by Siri might interrupt your app’s audio. When situations like these occur, people expect your app to respond in the following ways:Pause audio indefinitely for primary audio interruptions, such as playing music, podcasts, or audiobooks. Temporarily lower the volume or pause the audio for shorter interruptions, such as GPS directional notifications, and resume the original volume or playback when the interruption ends. For guidance, see Playing audio. Finish user-initiated tasks in the background. When someone starts a task like downloading assets or processing a video file, they expect it to finish even if they switch away from your app. If your app is in the middle of performing a task that doesn’t need additional input, complete it in the background before suspending. Use notifications sparingly. Your app can send notifications when it’s suspended or running in the background. If people start an important or time-sensitive task in your app, and then switch away from it, they might appreciate receiving a notification when the task completes so they can switch back to your app and take the next step. In contrast, people don’t generally need to know the moment a routine or secondary task completes. In this scenario, avoid sending an unnecessary notification; instead, let people check on the task when they return to your app. For guidance, see Managing notifications. Platform considerations Not supported in watch OS.i OSOn i Phone, multitasking lets people use Face Time or watch a video in Picture in Picture while they also use a different app. The app switcher displays all currently open apps. A current Face Time call can continue while people use another app.i Pad OSOn i Pad, people can view and interact with the windows of several different apps at the same time. An individual app can also support multiple open windows, which lets people view and interact with more than one window in the same app at one time. People can use i Pad with either full screen or windowed apps. When full screen, apps occupy the full screen, and people can switch between individual app windows using the app switcher. When using windowed apps, app windows are resizable, and people can arrange them to suit their needs with behavior similar to mac OS. The system provides window controls for common tiling configurations, entering full screen, minimizing, and closing windows. The system identifies the frontmost window by coloring its window controls and casting a drop shadow on windows behind it. For guidance, see Windows > i Pad OS.Additionally, videos and Face Time calls can also play in a Picture in Picture overlay above other content regardless of whether apps are full screen or windowed. Note Apps don’t control multitasking configurations or receive any indication of the ones that people choose. To help your app respond correctly when people open it while windowed, make sure it adapts gracefully to different screen sizes. For guidance, see Layout and Windows; for developer guidance, see Multitasking on i Pad. To learn more about how people use i Pad multitasking features, see Use multitasking on your i Pad.mac OSOn Mac, multitasking is the default experience because people typically run more than one app at a time, switching between windows and tasks as they work. When multiple app windows are open, mac OS applies drop shadows that make the windows appear layered on the desktop, and applies other visual effects to help people distinguish different window states; for guidance, see mac OS window states.tv OSOn Apple TV, people can play or browse content while also playing movies or TV shows in Picture in Picture (where supported).vision OSOn Apple Vision Pro, people can run multiple apps at the same time in the Shared Space, viewing and switching between windows and volumes throughout the space. Only one window is active at a time in the Shared Space. When people look from one window to another, the window they’re currently looking at becomes active while the previous window becomes more translucent and appears to recede along the z-axis. Closing an app window in the Shared Space transitions the app to the background without quitting it. Note When an app is the Now Playing app, closing its window automatically pauses audio playback; if people want to resume playback, they can do so in Control Center without opening the window. Avoid interfering with the system-provided multitasking behavior. When people look from one window to another, vision OS applies a feathered mask to the window they look away from to clarify its changed state. To avoid interfering with this visual feedback, don’t change the appearance of a window’s edges. Video with custom controls. Content description: A recording showing the Notes app and the Settings app in the Shared Space in vision OS. The viewer first repositions the Notes window to slightly overlap the Settings window before activating Settings and then switching back to Notes. Each time an app becomes active, the system applies feathering to the inactive app's window. Play Don’t pause a window’s video playback when people look away from it. In vision OS, as in mac OS, people expect the playback they start in one window to continue while they view or perform a task in another window. Be prepared for situations where your audio can duck. Unless an app is currently the Now Playing app, its audio can duck when people look away from it to another app.