---
title: "init(title:image:identifier:children:viewControllerProvider:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uitabgroup/init(title:image:identifier:children:viewcontrollerprovider:)"
---

# init(title:image:identifier:children:viewControllerProvider:)

Creates a tab group.

## Declaration

```swift
init(title: String, image: UIImage?, identifier: String, children: [UITab], viewControllerProvider: ((UITab) -> UIViewController)? = nil)
```

## Parameters

- `title`: The group’s title.
- `image`: The group’s image.
- `identifier`: An identifier string for the tab.
- `children`: The contained tab items.
- `viewControllerProvider`: The view controller that the system presents when someone selects the group from the tab bar.
