Apple just presented the new 3D-Touch feature of the iPhone6S. User can press a view and will review an instant feedback providing a context-like menu to select different actions, called UIApplicationShortcutItem. After clicking on one of the actions, the user will guided to the app where several actions can be performed depending on the action. There are the properties type, localizedTitle, localizedSubtitle, icon and userInfo. There is also a UIApplicationShortcutIcon to configure the icon or associate it with existing (contact) images to personalize the experience.
We differentiate static vs. dynamic shortcut items:
- Static: Are set in the Info.plist before launching the app.
- Dynamic: Are set in the app to offer a dynamic behavior at runtime.
As is currently see it, we can support static action very easy by letting the user write them in the <ios> section of our tiapp.xml. Dynamic shortcut items will need an own proxy to receive existing actions and configure own actions.