Contents
Context menus are available on all devices running iOS 13 and later; Peek and Pop is available only on devices that support 3D Touch. Context menus immediately display contextually relevant commands; Peek and Pop requires a swipe up to view commands.
For example, in iOS 14 and later, Safari responds to a touch and hold gesture on the tabs button by displaying a menu of tab-related actions like New Tab and Close All Tabs. Use separators to visually group related menu items. Creating visual groupings can help people scan a menu more quickly.
In iOS 14 and later, a button can display a pull-down menu that lists items or actions from which people can choose. You can use a pull-down menu — or simply menu — to offer items that are directly related to the button’s action or to provide a list of actions that are useful in the current context. Menus offer several advantages
When to use context menus in an app?
Adopt context menus consistently. If you provide context menus for items in some places but not in others, people won’t know where they can use the feature and may think there’s a problem with your app. Include only the most commonly used commands that apply to the item.
Where does the Edit menu go on an iPhone?
Similarly, the menu shouldn’t have a Select option if something is already selected. Adjust placement of edit options, if necessary. By default, the menu is positioned above or below the insertion point or selection, depending on available space, and includes a pointer to the related content.
Show appropriate commands for the current context. By default, the options include Cut, Copy, Paste, Select, Select All, and Delete commands, any of which can optionally be disabled.