# Titanium.UI.iOS.PreviewActionGroup

> A PreviewActionGroup provides options to configure a group of actions used by the iOS 9 3D-Touch feature "Peek and Pop".

- Source: https://titaniumsdk.com/docs/sdk/13.1.0/Titanium.UI.iOS.PreviewActionGroup
- Titanium SDK version: 13.1.0
- Kind: proxy
- Platforms: iPhone
- Since: Titanium SDK 5.1.0
- Extends: Titanium.Proxy
- Inheritance: Titanium.Proxy

The PreviewActionGroup is created by the [Titanium.UI.iOS.createPreviewActionGroup](https://titaniumsdk.com/docs/sdk/Titanium.UI.iOS.md#createPreviewActionGroup) method. You
need to set the `title` property when creating a PreviewActionGroup object.

Use this class to configure a group of preview actions used in the [Titanium.UI.iOS.PreviewContext](https://titaniumsdk.com/docs/sdk/Titanium.UI.iOS.PreviewContext.md).
The actions are of the type [Titanium.UI.iOS.PreviewAction](https://titaniumsdk.com/docs/sdk/Titanium.UI.iOS.PreviewAction.md).

For an example, see [Titanium.UI.iOS.PreviewContext](https://titaniumsdk.com/docs/sdk/Titanium.UI.iOS.PreviewContext.md).

See also:

* [iOS Developer Library: Adopting 3D Touch on iPhone](https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/Adopting3DTouchOniPhone/3DTouchAPIs.html)

## Properties

### actions

- Type: Array<Titanium.UI.iOS.PreviewAction>
- Platforms: iPhone

The preview actions assigned to this preview action group.

Provides an array with elements of the type [Titanium.UI.iOS.PreviewAction](https://titaniumsdk.com/docs/sdk/Titanium.UI.iOS.PreviewAction.md).
Note: Apple does not allow adding a preview group to another preview group, so only
one hirarchie level is allowed.

### style

- Type: Number
- Platforms: iPhone
- Default: `Titanium.UI.iOS.PREVIEW_ACTION_STYLE_DEFAULT`

The style of the action group.

Accepts: `Titanium.UI.iOS.PREVIEW_ACTION_STYLE_DEFAULT`, `Titanium.UI.iOS.PREVIEW_ACTION_STYLE_DESTRUCTIVE`, `Titanium.UI.iOS.PREVIEW_ACTION_STYLE_SELECTED`

### title

- Type: String
- Platforms: iPhone

The title of the action group.

Provides a title to be shown when "peeking" a view referenced in the [Titanium.UI.iOS.PreviewContext](https://titaniumsdk.com/docs/sdk/Titanium.UI.iOS.PreviewContext.md).

## Inherited members

6 members are inherited. Each is documented on the type that declares it.

- [Titanium.Proxy](https://titaniumsdk.com/docs/sdk/13.1.0/Titanium.Proxy.md): `addEventListener`, `apiName`, `applyProperties`, `bubbleParent`, `fireEvent`, `removeEventListener`

---

- This corpus documents Titanium SDK 13.4.1. Anything here that does not name a version describes 13.4.1.
- Titanium is maintained by TiDev. The Appcelerator toolchain is retired: there is no `appc` CLI, no Appcelerator Studio and no hosted build service. The supported CLI is `titanium` on npm, invoked as `ti`.

